Arbitrum One
هل أنت مستعد لاستدعاء هذا في الإنتاج؟
الخطة المجانية تغطي المشاريع الشخصية. الدفع حسب الاستخدام يتوسع دون بطاقة.
Arbitrum One
الخطة المجانية تغطي المشاريع الشخصية. الدفع حسب الاستخدام يتوسع دون بطاقة.
This page is the complete index of every Arbitrum One JSON-RPC method TheRPC serves on https://arbitrum.therpc.io/YOUR_API_KEY, grouped by namespace with a short note on what each one does and when you would reach for it. Because Arbitrum One runs the Nitro stack with an Ethereum-equivalent execution layer, the method surface mirrors a standard Ethereum node while adding the rollup behavior you care about, such as ETH-denominated gas that bundles L2 execution and L1 calldata posting costs. Click any method name to open its full reference, complete with parameters, return shape, error codes, and copy-paste examples.
The eth_ namespace is the core of any Arbitrum One integration: it reads balances and account state, fetches blocks and transactions, estimates gas, submits signed transactions to the sequencer, and calls smart contracts on protocols like GMX, Uniswap, Aave, and Camelot. These are the methods you will use most when building dApps, wallets, indexers, or backends against chain ID 42161.
eth_blockNumberGet the latest Arbitrum One L2 block height with eth_blockNumber over JSON-RPC. Returns the most recently sequenced block on chain 42161.
eth_callRun read-only contract calls on Arbitrum One with eth_call — no transaction, no ETH gas. Query GMX, Uniswap, and Aave state on chain 42161.
eth_chainIdUse eth_chainId to confirm the Arbitrum One network — returns 0xa4b1 (42161). Verify the endpoint before signing ETH transactions on the rollup.
eth_estimateGasEstimate Arbitrum One gas with eth_estimateGas — covers both L2 execution and the L1 calldata posting cost on chain 42161, priced in ETH.
eth_feeHistoryPull recent Arbitrum One base fees and priority-fee percentiles with eth_feeHistory to build EIP-1559 fee strategies on chain 42161.
eth_gasPriceGet Arbitrum One's suggested gas price in wei with eth_gasPrice. A quick read of current L2 fee conditions on chain 42161, priced in ETH.
eth_getBalanceRead an account's ETH balance on Arbitrum One with eth_getBalance at any block. Returns wei on chain 42161; convert with BigInt.
eth_getBlockByHashFetch an Arbitrum One block by its hash with eth_getBlockByHash over JSON-RPC. Returns header, gas metrics, and transactions on chain 42161.
eth_getBlockByNumberFetch an Arbitrum One block by height or tag with eth_getBlockByNumber. Walk the L2 chain or read latest/finalized blocks on chain 42161.
eth_getBlockReceiptsGet every transaction receipt in an Arbitrum One block in one call with eth_getBlockReceipts. Ideal for indexing logs and gas on chain 42161.
eth_getBlockTransactionCountByHashCount transactions in an Arbitrum One block by its hash with eth_getBlockTransactionCountByHash — a fast block-fullness check on chain 42161.
eth_getBlockTransactionCountByNumberCount the transactions in an Arbitrum One block by height or tag with eth_getBlockTransactionCountByNumber over JSON-RPC.
eth_getCodeRead the deployed bytecode at any Arbitrum One address and block with eth_getCode over the JSON-RPC endpoint.
eth_getFilterChangesPoll an Arbitrum One filter for new logs, block hashes, or pending txs since your last call with eth_getFilterChanges.
eth_getFilterLogsFetch every Arbitrum One log matching an existing log filter, regardless of poll state, with eth_getFilterLogs.
eth_getLogsQuery Arbitrum One event logs by address, topics, and block range with eth_getLogs — the core method for backfill indexing.
eth_getProofGet Arbitrum One account fields plus Merkle-Patricia proofs for an account and its storage slots with eth_getProof.
eth_getStorageAtRead the raw 32-byte value at any Arbitrum One contract storage slot and block with eth_getStorageAt over JSON-RPC.
eth_getTransactionByBlockHashAndIndexFetch an Arbitrum One transaction by its position within a block identified by hash using eth_getTransactionByBlockHashAndIndex.
eth_getTransactionByBlockNumberAndIndexFetch an Arbitrum One transaction by index within a block named by number or tag using eth_getTransactionByBlockNumberAndIndex.
eth_getTransactionByHashLook up the full transaction object for any Arbitrum One transaction hash with eth_getTransactionByHash over JSON-RPC.
eth_getTransactionCountGet the nonce (transactions sent) for any Arbitrum One address at a chosen block with eth_getTransactionCount over JSON-RPC.
eth_getTransactionReceiptCall eth_getTransactionReceipt on Arbitrum One to read a mined transaction's status, gas used, and emitted logs over JSON-RPC.
eth_getUncleByBlockHashAndIndexeth_getUncleByBlockHashAndIndex on Arbitrum One returns an uncle header by block hash and index; the rollup has no uncles, so it returns null.
eth_getUncleByBlockNumberAndIndexeth_getUncleByBlockNumberAndIndex on Arbitrum One returns an uncle header by block height and index; the rollup has no uncles, so it returns null.
eth_getUncleCountByBlockHasheth_getUncleCountByBlockHash on Arbitrum One returns the uncle count for a block hash; the rollup has no uncles, so it always returns 0x0.
eth_getUncleCountByBlockNumbereth_getUncleCountByBlockNumber on Arbitrum One returns the uncle count at a block height; the rollup has no uncles, so it always returns 0x0.
eth_maxPriorityFeePerGasCall eth_maxPriorityFeePerGas on Arbitrum One to get the node's suggested EIP-1559 priority fee (tip) per gas unit, in wei.
eth_newBlockFiltereth_newBlockFilter on Arbitrum One creates a server-side filter for new block hashes, returning an ID to poll with eth_getFilterChanges.
eth_newFiltereth_newFilter on Arbitrum One creates a server-side log filter and returns its ID for incremental polling with eth_getFilterChanges.
eth_newPendingTransactionFiltereth_newPendingTransactionFilter on Arbitrum One creates a filter for pending transaction hashes, returning an ID to poll with eth_getFilterChanges.
eth_sendRawTransactionCall eth_sendRawTransaction on Arbitrum One to broadcast a signed, RLP-encoded transaction to the sequencer and get its hash back.
eth_subscribeOpen a push-based WebSocket subscription on Arbitrum One with eth_subscribe — stream newHeads, logs, and pending txs without polling.
eth_syncingCall eth_syncing on Arbitrum One to get the node's live sync progress, or false when the node is fully caught up to the L2 head.
eth_uninstallFilterCall eth_uninstallFilter on Arbitrum One to remove a server-side log, block, or pending-tx filter by ID and free node resources.
eth_unsubscribeCall eth_unsubscribe on Arbitrum One to cancel an active WebSocket subscription by ID and stop further event notifications.
The debug_ namespace exposes deep inspection tools for analyzing how a transaction executed inside ArbOS, down to individual opcodes and state changes. On an Optimistic Rollup like Arbitrum One these methods are invaluable for understanding revert reasons, reproducing failed contract calls, and auditing gas usage across the L2 execution path. Access to debug methods typically requires an archive-enabled plan.
debug_getBadBlocksCall debug_getBadBlocks on Arbitrum One (chain ID 42161) to list invalid blocks a Nitro node rejected since it last started.
debug_storageRangeAtUse debug_storageRangeAt on Arbitrum One (chain ID 42161) to page a contract's raw storage slots at the state after a given transaction.
debug_traceBlockCall debug_traceBlock on Arbitrum One (chain ID 42161) to trace every transaction in a block you supply as RLP-encoded bytes.
debug_traceBlockByHashCall debug_traceBlockByHash on Arbitrum One (chain ID 42161) for opcode-level traces of every transaction in a block named by its hash.
debug_traceBlockByNumberCall debug_traceBlockByNumber on Arbitrum One (chain ID 42161) for opcode-level traces of every transaction in a block by number or tag.
debug_traceCallCall debug_traceCall on Arbitrum One (chain ID 42161) to get a full opcode trace of a simulated call without sending a transaction.
debug_traceTransactionCall debug_traceTransaction on Arbitrum One (chain ID 42161) to replay a mined transaction opcode by opcode and inspect every step.
The trace_ namespace reconstructs the full call tree of a transaction or an entire Arbitrum One block, surfacing every internal call, value transfer, and contract creation. This is the toolkit indexers and analytics teams use to follow funds through complex DeFi routes on Arbitrum One — for example tracing a multi-hop swap through Camelot or a leveraged position on GMX — where the top-level receipt alone hides the internal movements.
trace_blockCall trace_block on Arbitrum One (chain ID 42161) for call-tree traces of every transaction in a block by number or tag.
trace_callCall trace_call on Arbitrum One (chain ID 42161) to simulate a call and return its call tree, VM trace, and stateDiff.
trace_filterCall trace_filter on Arbitrum One (chain ID 42161) to search traces by address and block range across many blocks at once.
trace_replayBlockTransactionsCall trace_replayBlockTransactions on Arbitrum One (chain ID 42161) to replay a block and return trace, vmTrace, and stateDiff per tx.
trace_replayTransactionCall trace_replayTransaction on Arbitrum One (chain ID 42161) to replay a tx and get its call tree, vmTrace, and stateDiff.
trace_transactionCall trace_transaction on Arbitrum One (chain ID 42161) for a transaction's full call tree of internal calls, creates, and self-destructs.
The net_ namespace reports network-level status for your Arbitrum One connection, including the network identifier (which resolves to 42161 for Arbitrum One mainnet) and peer connectivity. Use these lightweight calls to confirm your client is pointed at the right chain before sending transactions.
net_listeningCall net_listening on Arbitrum One to check whether the node is actively listening for incoming peer-to-peer connections.
net_peerCountCall net_peerCount on Arbitrum One to get the number of peers connected to the node as a hex-encoded integer.
net_versionCall net_version on Arbitrum One to get the network ID (42161) as a decimal string and confirm the node's connected chain.
The txpool_ namespace lets you inspect transactions that are queued or pending before the Arbitrum One sequencer orders them into a block. Because the sequencer produces sub-second soft confirmations, the pending window is short, but these methods are still useful for monitoring your own outgoing transactions and diagnosing stuck nonces.
txpool_inspectCall txpool_inspect on Arbitrum One for a readable summary of pending and queued transactions, grouped by sender and nonce.
txpool_statusCall txpool_status on Arbitrum One to get pending and queued transaction counts from the node's pool as hex-encoded integers.
The web3_ namespace provides small utility helpers — such as the client version string and Keccak-256 hashing — that are handy for health checks and quick sanity tests against your Arbitrum One endpoint without touching chain state.