Arc RPC API

📘

See the Arc RPC API connection guide.

eth

Method Notes
eth_blockNumber Returns the current block height.
eth_call Executes a new message call without creating a transaction on the blockchain.
eth_chainId Returns the chain's identifier in hexadecimal format.
eth_estimateGas Estimates the gas required to send the transaction.
eth_feeHistory Returns historical gas information for the specified range of blocks.
eth_gasPrice Returns the current gas price in ETH.
eth_getBalance Returns the balance of a given account address at a specified block number.
eth_getBlockByHash Returns block information given its hash, including a boolean indicating success.
eth_getBlockByNumber Returns information about a block by its block number.
eth_getBlockTransactionCountByHash Returns the total transaction count for a specified block hash.
eth_getBlockTransactionCountByNumber Returns the total transaction count for a specified block number.
eth_getCode Returns the code at a given account address at a specific block number.
eth_getFilterChanges Returns filter changes since the last poll.
eth_getFilterLogs Returns all logs matching a given filter ID.
eth_getLogs Returns an array of logs matching a specified filter object.
eth_getProof Returns account and storage values, including Merkle proofs.
eth_getStorageAt Returns the storage address for a given account address at a specific block.
eth_getTransactionByBlockHashAndIndex Returns transaction details based on block hash and transaction index.
eth_getTransactionByBlockNumberAndIndex Returns transaction details by block height and block index.
eth_getTransactionByHash Returns details of a transaction from its hash.
eth_getTransactionCount Returns the total transaction count for a given account address and block number.
eth_getTransactionReceipt Returns the receipt of a transaction given its hash.
eth_getUncleByBlockHashAndIndex Always returns empty.
eth_getUncleByBlockNumberAndIndex Always returns empty.
eth_getUncleCountByBlockHash Always returns empty.
eth_getUncleCountByBlockNumber Always returns empty.
eth_maxPriorityFeePerGas Returns the current maxPriorityFeePerGas per EIP-1559 rules.
eth_newBlockFilter Creates a filter to notify when a new block arrives.
eth_newFilter Creates a new filter using specific topics.
eth_sendRawTransaction Creates a new message, call transaction, or contract creation for signed transactions.
eth_simulateV1 Simulates a set of calls against a block state.
eth_subscribe Subscribes to events via JSON-RPC notifications.
eth_syncing Returns an object with the sync status or false if not syncing.
eth_uninstallFilter Uninstalls a filter with the given filter ID.
eth_unsubscribe Unsubscribes from an event using the provided subscription ID.

net

Method Notes
net_peerCount Returns the number of peers currently connected to the client.
net_version Returns the current network id.

web3

Method Notes
web3_clientVersion Returns the Web3 client version.
web3_sha3 Returns keccak-256 (not the standardized SHA3-256) of the given data.

debug

Method Notes
debug_dumpBlock Retrieves the state of all accounts at a specified block.
debug_traceBlock Trace all transactions within a block using a given tracer.
debug_traceBlockByHash Executes all transactions in a block specified by its hash, using a tracer.
debug_traceBlockByNumber Executes all transactions in a block specified by its number, using a tracer (trace mode required).
debug_traceTransaction Returns all traces associated with a given transaction.

txpool

Method Notes
txpool_content Returns all pending and queued transactions in the pool.
txpool_inspect Returns a summarized list of pending and queued transactions.
txpool_status Returns the number of pending and queued transactions in the pool.

trace

Method Notes
trace_block Returns traces for all transactions in the specified block.
trace_filter Returns traces matching the specified filter criteria.
trace_replayBlockTransactions Replays all transactions in a block and returns their traces.
trace_replayTransaction Replays a transaction and returns its trace.
trace_transaction Returns traces for a specific transaction.

parity

Method Notes
parity_allTransactions Returns all transactions currently in the transaction pool.
parity_getBlockHeaderByNumber Returns the block header for the given block number.
parity_pendingTransactions Returns a list of pending transactions.
parity_pendingTransactionsStats Returns statistics for pending transactions.