EVM Zone RPC
Every JSON-RPC method on the EVM Zone: what a full node answers itself, what it forwards, and what the Block Producer and the archive RPC serve.
On this page
The EVM Zone serves the standard Ethereum JSON-RPC, with the differences listed here. Most readers use a full node: LayerZero's public RPC, or one you run yourself. It answers reads from its own copy of the chain and passes transactions on to the Block Producer. The archive RPC serves older blocks, the archive_* methods and tracing.
- Full node
eth,netandweb3, pluszone_getCommit,zone_finalizedBeaconHeightandzone_getBeaconStateRoot. Nodebug,traceortxpool- Forwarded
eth_sendRawTransaction,eth_sendRawTransactionSync,eth_fillTransaction,zone_sponsorship, and any read that asks forpending- Archive RPC
- 47 methods: 28 direct reads plus 19 simulation and tracing methods
- Not available
- Signing, mining, peer methods and pending-transaction subscriptions
Make a request
Send requests to the endpoint you were given, or to your own full node's rpc.http_address. This example assumes a local node listening on 127.0.0.1:22550:
curl http://127.0.0.1:22550 \
-H 'Content-Type: application/json' \
--data '{"jsonrpc":"2.0","id":1,"method":"eth_chainId","params":[]}'eth_chainId returns the chain ID as a hex quantity. Subscriptions need the WebSocket listener (rpc.ws_address). zone_getBlock is served on a separate listener, not the JSON-RPC one.
Full-node RPC
A full node registers 74 method names, including subscription methods and methods that always return an error. It has no transaction pool and no pending block, so it answers a request that selects pending, whether as a block tag, an EIP-1898 {"blockNumber":"pending"} object, stateContext or stateBlockNumber, with -32002 pending block and state are unavailable on this node. Exactly those requests are forwarded to the Block Producer, unchanged, and its answer, error included, comes back as is. If forwarding itself fails (unreachable, timed out, or a response over rpc.response_bytes), you get -32000 sequencer RPC unavailable. Other namespaces return -32601.
| Tag | Meaning |
|---|---|
| Local | Answered by the full node |
| Local, pending forwarded | Answered by the full node, except a request that selects pending, which the Block Producer answers |
| Forwarded | Always answered by the Block Producer |
| Unavailable | Fails on the full node with the code shown |
| Full node | Methods | Notes |
|---|---|---|
| Forwarded | eth_sendRawTransaction, eth_sendRawTransactionSync, eth_fillTransaction | Admission happens in the Block Producer's pool, which also supplies eth_fillTransaction's nonce. rpc.forward_timeout_ms bounds a synchronous submission |
| Forwarded | zone_sponsorship | Sponsorship counts live on the Block Producer |
| Local, pending forwarded | eth_call, eth_createAccessList, eth_estimateGas, eth_getAccount, eth_getAccountInfo, eth_getBalance, eth_getCode, eth_getStorageAt, eth_getTransactionCount, eth_getBlockByNumber, eth_getBlockReceipts, eth_getBlockTransactionCountByNumber, eth_getHeaderByNumber, eth_getRawTransactionByBlockNumberAndIndex, eth_getTransactionByBlockNumberAndIndex, eth_getUncleByBlockNumberAndIndex, eth_getUncleCountByBlockNumber, eth_getBlockAccessListByBlockNumber, eth_getLogs | Every method with a block selector except eth_getProof. eth_getLogs forwards only a range that starts at pending; a range that ends at pending reads local blocks up to the head |
| Local, pending refused | eth_callBundle, eth_callMany, eth_simulateV1 | A request that selects pending fails with -32002 pending is not available for compound simulations on a full node; use latest and is never forwarded. rpc.simulation_calls bounds blocks and calls, and rpc.state_keys bounds eth_simulateV1 state overrides |
| Local | eth_accounts, eth_blockNumber, eth_chainId, eth_coinbase, eth_config, eth_gasPrice, eth_maxPriorityFeePerGas, eth_feeHistory, eth_getBlockByHash, eth_getBlockTransactionCountByHash, eth_getHeaderByHash, eth_getRawTransactionByBlockHashAndIndex, eth_getTransactionByBlockHashAndIndex, eth_getUncleByBlockHashAndIndex, eth_getUncleCountByBlockHash, eth_getBlockAccessListByBlockHash, eth_getRawTransactionByHash, eth_getTransactionByHash, eth_getTransactionBySenderAndNonce, eth_getTransactionReceipt, eth_syncing, eth_getProof, net_version, web3_clientVersion, web3_sha3 | eth_feeHistory caps a pending newest block to latest. Transaction lookups see committed blocks only, never the pool. eth_syncing reports local execution against the settlement layer. eth_getProof rejects pending with -32603, so it isn't forwarded. web3_clientVersion returns zero-evm-zone/full-node/<version> |
| Local | eth_newFilter, eth_newBlockFilter, eth_uninstallFilter, eth_getFilterChanges, eth_getFilterLogs | Filters belong to the node that created them, so they're never forwarded. eth_newFilter from pending fails with -32002; a filter to pending reads local blocks up to the head |
| Local | eth_subscribe / eth_unsubscribe with newHeads, logs, syncing | Locally committed blocks. WebSocket only |
| Unavailable | eth_newPendingTransactionFilter, eth_subscribe with newPendingTransactions | -32004 application RPC capability unavailable: pending transactions. The full node has no pool |
| Unavailable | eth_sendTransaction, eth_sign, eth_signTransaction, eth_signTypedData | No signers |
| Unavailable | eth_getWork, eth_hashrate, eth_mining, eth_protocolVersion, eth_submitHashrate, eth_submitWork, net_peerCount, net_listening | -32004 |
RPC servers
| Server | Who runs it | Transport | Methods |
|---|---|---|---|
| Full-node RPC | Every full node, including LayerZero's public RPC | HTTP rpc.http_address, optional WebSocket rpc.ws_address | As above |
| Block RPC | Every full node | HTTP full_node.block_rpc_address | zone_getBlock only |
| Archive RPC | LayerZero | HTTP | 28 direct methods plus 19 simulation methods. See Archive RPC methods |
| Block Producer RPC | The Block Producer. Private: it admits only approved full nodes | HTTP, optional WebSocket | The eth, net, web3, debug, trace, txpool and other namespaces in the catalog below |
There is no Engine API: blocks reach a node from the settlement layer, zone_getBlock peers or block-data retrieval.
Request limits
The full node, Block Producer and archive RPC take the same optional rpc.limits. Unset limits don't apply.
| Limit | When it's exceeded |
|---|---|
batch_calls | The whole batch is refused with -32010 The batch request was too large |
request_timeout_ms | A call, or a whole batch, gets -32005 request timed out. Work already handed off still finishes |
concurrent_requests | The request is rejected at once with -32005 RPC server busy |
Error codes and tags
The namespace tables below compare each method with reth v1.11.3, the Ethereum client the zone's RPC is built from, and use these tags:
| Tag | Meaning |
|---|---|
| Same | Behaves as on Ethereum. The zone's own formats still apply: Zero's state roots, no blob fields |
| Head | Reads state at the head (latest) or the pending view. Any older block (a number, a hash, earliest, or safe/finalized while they trail the head) fails with -32603 historical state is unavailable. Use the archive RPC for those |
| Replay | Re-executes a past block or transaction on its parent's state. That state is historical, so on the Block Producer it fails with -32603; use the archive RPC |
| -32004 | Registered, but the zone doesn't provide the capability (application RPC capability unavailable: …) |
| -32601 | Not registered: method not found |
| -32603 fixed | Registered, and always returns an internal error |
| -32003 | transaction type not supported: a blob (type 3) transaction or blob fields |
| Archive | Yes if the archive RPC serves it; — if not (-32601) |
- Blocks, transactions and receipts on a node are kept only for its history window. Older records fail with -32603
block N was pruned. - On the archive RPC,
latest,safeandfinalizedall mean the published archive head, and errors use: -32001 outside the published coverage, -32005 a limit or busy, -32000 a storage failure or timeout, -32602 bad parameters orpending.
Namespace catalog
The Block Producer column is the zone software's behaviour; a full node follows it for the methods it serves locally (see Full-node RPC). "Trait only" means reth defines the method but never registers it.
eth
| Method | reth v1.11.3 | Block Producer | Archive | Notes |
|---|---|---|---|---|
eth_accounts | Yes | Same | — | Returns []: no local signers |
eth_blobBaseFee | Yes | -32601 (removed) | — | No blobs |
eth_blockNumber | Yes | Same | Yes | The archive returns its published head |
eth_call | Yes | Head | Yes | Execution is capped at the zone's per-transaction gas limit, not the block gas limit. Blob fields return -32003 |
eth_callMany | Yes | Head | Yes | The archive enforces simulation_calls (-32005) |
eth_chainId | Yes | Same | Yes | — |
eth_coinbase | Yes, -32603 unimplemented | Returns the block beneficiary | — | The zero address, matching the COINBASE opcode |
eth_createAccessList | Yes | Head | Yes | — |
eth_estimateGas | Yes | Head | Yes | — |
eth_feeHistory | Yes | Changed | — | Reward percentiles are zero because priority fees are burned. baseFeePerBlobGas and blobGasUsedRatio are empty |
eth_fillTransaction | Yes | Head | — | — |
eth_gasPrice | Yes | Changed | — | The next block's fixed base fee alone: no tip is suggested, since blocks take transactions first in, first out |
eth_getAccount | Yes | Head, changed shape | — | Returns {balance, nonce, codeHash}, with no storageRoot |
eth_getAccountInfo | Yes | Head | — | — |
eth_getBalance | Yes | Head | Yes | — |
eth_getBlockAccessListByBlockHash | Yes, -32603 unimplemented | -32603 fixed | — | — |
eth_getBlockAccessListByBlockNumber | Yes, -32603 unimplemented | -32603 fixed | — | — |
eth_getBlockByHash | Yes | Same | Yes | Zero's state roots. Blob gas fields are 0x0. An archive that started from a checkpoint returns -32001, not null, for a hash it never indexed: handle that error in receipt pollers |
eth_getBlockByNumber | Yes | Same | Yes | The archive rejects pending (-32602) |
eth_getBlockReceipts | Yes | Same | Yes | No blob fields |
eth_getBlockTransactionCountByHash | Yes | Same | Yes | — |
eth_getBlockTransactionCountByNumber | Yes | Same | Yes | — |
eth_getCode | Yes | Head | Yes | — |
eth_getHeaderByHash | Yes | Same | — | — |
eth_getHeaderByNumber | Yes | Same | — | — |
eth_getProof | Yes (EIP-1186) | Changed: Head; pending returns -32603 | Yes | Returns Zero's account proof, not EIP-1186: {world: {format, stateFormat, address, stateRoot, account, storageGeneration, storage[]}, receiptsRoot, airlockRoot}. world.stateRoot is the world-state root, not the header's state root, which also covers the receipts and airlock roots. More than rpc.state_keys storage keys (default 256) gets -32005 |
eth_getRawTransactionByBlockHashAndIndex | Yes | Same | — | — |
eth_getRawTransactionByBlockNumberAndIndex | Yes | Same | — | — |
eth_getRawTransactionByHash | Yes | Same | — | — |
eth_getStorageAt | Yes | Head | Yes | — |
eth_getTransactionByBlockHashAndIndex | Yes | Same | Yes | — |
eth_getTransactionByBlockNumberAndIndex | Yes | Same | Yes | — |
eth_getTransactionByHash | Yes | Same | Yes | Archive: -32001, not null, for a hash it never indexed |
eth_getTransactionBySenderAndNonce | Yes | Works for a pool hit or a nonce at or above the current one; otherwise -32603 | — | — |
eth_getTransactionCount | Yes | Head | Yes | — |
eth_getTransactionReceipt | Yes | Same | Yes | Archive: -32001, not null, for a hash it never indexed |
eth_getUncleByBlockHashAndIndex | Yes | Same | — | No ommers |
eth_getUncleByBlockNumberAndIndex | Yes | Same | — | — |
eth_getUncleCountByBlockHash | Yes | Same | — | — |
eth_getUncleCountByBlockNumber | Yes | Same | — | — |
eth_getWork, eth_hashrate, eth_mining, eth_submitHashrate, eth_submitWork | Yes | -32004 | — | No mining |
eth_maxPriorityFeePerGas | Yes | Changed | — | Always 0: a tip buys no earlier place |
eth_protocolVersion | Yes | -32004 | — | No peer networking |
eth_sendRawTransaction | Yes | Type 3 returns -32003. Contract creation by an unapproved deployer returns -32000 | — | See Contract deployment |
eth_sendRawTransactionSync | Yes | As eth_sendRawTransaction | — | — |
eth_sendTransaction, eth_sign, eth_signTransaction, eth_signTypedData | Yes | Same: no signers | — | — |
eth_simulateV1 | Yes | Head | Yes | The archive limits blocks and calls to simulation_calls, and state overrides to 256 units. movePrecompileToAddress can't move or replace the cross-zone precompile (-32000) |
eth_syncing | Yes | Changed | — | Reports the zone head against the settlement layer's target. -32004 until the node has initialized |
eth_callBundle | Yes | Head | — | Type 3 returns -32003. gasFees is zero |
eth_sendBundle, eth_cancelBundle, eth_sendPrivateTransaction, eth_sendPrivateRawTransaction, eth_cancelPrivateTransaction, eth_sendRawTransactionConditional | Trait only | -32601 | — | — |
eth_config | Yes | Changed | — | No blobSchedule. precompiles omits 0x0a and lists the cross-zone precompile. forkId comes from the zone's genesis hash. systemContracts still lists the four Ethereum system contracts, which the zone doesn't run |
eth_newFilter, eth_newBlockFilter, eth_newPendingTransactionFilter, eth_uninstallFilter | Yes | Same | — | — |
eth_getFilterChanges | Yes | Same | — | Committed blocks only: a pending bound reaches the head |
eth_getFilterLogs | Yes | Changed | — | As eth_getLogs over the filter's range |
eth_getLogs | Yes | Changed | Yes | A range from pending returns the pending block's logs; a range to pending reads committed blocks up to the head. The archive rejects any pending bound (-32602) and caps log_pages and log_results (-32005): use archive_getLogs to page |
eth_subscribe / eth_unsubscribe | Yes | newHeads, logs, newPendingTransactions, syncing | — | WebSocket only. newHeads goes quiet while there is no traffic |
net and web3
| Method | reth v1.11.3 | Block Producer | Archive | Notes |
|---|---|---|---|---|
net_version | Yes | Same | Yes | Chain ID as a decimal string |
net_peerCount, net_listening | Yes | -32004 | — | No peer networking |
web3_clientVersion | Yes | Changed: zero-evm-zone/<version> | Yes | The archive returns zero-evm-zone/archive/<version> |
web3_sha3 | Yes | Same | — | — |
debug
Served by the Block Producer and, for the methods marked, the archive RPC. A full node doesn't serve debug.
| Method | reth v1.11.3 | Block Producer | Archive | Notes |
|---|---|---|---|---|
debug_chainConfig | Yes | Changed | — | Returns the genesis config as is. The zone ignores those forks, so it may not match the rules the zone runs |
debug_codeByHash | Yes | Head | Yes | — |
debug_dbGet | Yes | Same, at the head | — | — |
debug_getBadBlocks | Yes | Changed: always [] | — | — |
debug_getRawBlock, debug_getRawHeader, debug_getRawReceipts, debug_getRawTransaction, debug_getRawTransactions | Yes | Same | — | Zone header RLP |
debug_qmdbStateRoot | — | Zone only: Head | — | Previews the world-state root for sorted, unique {key, value} writes and the next block's timestamp, without changing state. Returns {parentWorldRoot, blockNumber, timestamp, worldRoot}. Neither root is a header stateRoot. Replaces debug_stateRootWithUpdates |
debug_traceBlock | Yes | Replay. Works only when the block's parent is the current head | — | — |
debug_traceBlockByHash, debug_traceBlockByNumber | Yes | Replay | Yes | — |
debug_traceCall, debug_traceCallMany | Yes | Head | Yes | The archive checks the transaction index is within the block |
debug_traceTransaction | Yes | Replay | Yes | The archive returns -32001 outside its coverage |
debug_executionWitness, debug_executionWitnessByBlockHash, debug_stateRootWithUpdates, debug_setTrieFlushInterval | Yes | -32601 (removed) | — | Zero has no Merkle-Patricia trie. Use debug_qmdbStateRoot for state roots |
debug_dbAncient, debug_dbAncients, debug_dumpBlock, debug_getAccessibleState, debug_getBlockAccessList, debug_getModifiedAccountsByHash, debug_getModifiedAccountsByNumber, debug_intermediateRoots, debug_preimage, debug_standardTraceBadBlockToFile, debug_standardTraceBlockToFile, debug_storageRangeAt, debug_traceBadBlock, debug_traceChain | Yes | -32603 fixed | — | — |
Profiling and runtime methods: debug_accountRange, debug_backtraceAt, debug_blockProfile, debug_chaindbCompact, debug_chaindbProperty, debug_cpuProfile, debug_freeOSMemory, debug_freezeClient, debug_gcStats, debug_goTrace, debug_memStats, debug_mutexProfile, debug_printBlock, debug_seedHash, debug_setBlockProfileRate, debug_setGCPercent, debug_setHead, debug_setMutexProfileFraction, debug_stacks, debug_startCPUProfile, debug_startGoTrace, debug_stopCPUProfile, debug_stopGoTrace, debug_verbosity, debug_vmodule, debug_writeBlockProfile, debug_writeMemProfile, debug_writeMutexProfile | Yes, mostly no-ops | -32004 | — | — |
trace
| Method | reth v1.11.3 | Block Producer | Archive | Notes |
|---|---|---|---|---|
trace_call, trace_callMany | Yes | Head | Yes | — |
trace_rawTransaction | Yes | Head | Yes | Type 3 returns -32003 |
trace_replayTransaction, trace_replayBlockTransactions, trace_transaction, trace_get | Yes | Replay | Yes | — |
trace_block | Yes | Replay | Yes | No block-reward traces |
trace_filter | Yes | Replay | Yes | The archive caps trace_blocks and trace_results (-32005) |
trace_blockOpcodeGas, trace_transactionOpcodeGas | Yes | Replay | — | — |
Other namespaces on the Block Producer
These are served only by the Block Producer, which is private.
| Method | Block Producer | Notes |
|---|---|---|
txpool_content, txpool_contentFrom, txpool_inspect, txpool_status | Same | — |
rpc_modules | Same | Lists the enabled modules |
ots_* | Same as reth, except ots_hasCode (Head), ots_getInternalOperations, ots_getTransactionError, ots_traceTransaction (Replay) and ots_getContractCreator, ots_searchTransactionsBefore, ots_searchTransactionsAfter (-32603) | Not served when the node routes history (rpc.history). Use archive_getAddressActivity instead of the search methods |
reth_subscribeChainNotifications, reth_subscribePersistedBlock, reth_subscribeFinalizedChainNotifications and their unsubscribes | Same | Finality is the settlement-layer confirmation. Not served with rpc.history |
reth_getBalanceChangesInBlock | -32603 | Needs historical state |
mev_simBundle | Head | Type 3 returns -32003 |
miner_*, admin_* (except admin_clearTxpool) | -32004 | No mining or peer networking |
mev_sendBundle, flashbots_validateBuilderSubmissionV1–V5, testing_buildBlockV1, anvil_*, hardhat_*, engine_* | -32601 | Not served |
Zone methods
| Method | Server | Behaviour | Errors |
|---|---|---|---|
zone_getBlock | Block RPC, on every full node | Takes a block request and returns the retained block, saying whether it's executed, confirmed, missing or pruned. The data, commitment, receipt and witness are rechecked | -32602 for height 0. -32000 for a read failure or timeout |
zone_getCommit | Full node, archive | (height). Returns {height, blockHash, stateRoot, blockCommitment, committedAt, settledAt, settledStateRoot}: the settlement-layer heights that committed and settled the block. Settlement fields are null until settled | -32001 not yet committed, executed or published (data {committedHeight} or {latest}). -32602 before the commit history ({firstHeight}) or pruned ({firstRetained}). -32000 |
zone_finalizedBeaconHeight | Full node, archive | (). Returns {beaconHeight, committedHeight, settledHeight}: the last finalized settlement-layer height the node followed, and the zone's heights at it, from one snapshot | -32602 if given a parameter |
zone_getBeaconStateRoot | Full node, archive | (beaconHeight). Returns {beaconHeight, blockHash, stateRoot} for a settlement-layer block the node followed, from its own records | -32001 above the followed history ({beaconHeight}). -32602 no longer held ({firstRetained}). -32000 |
zone_sponsorship | Block Producer; full nodes forward it | (owner). Returns {used, limit, remaining, resetsAt}: the owner's sponsored transactions today, the daily limit, and the next midnight UTC. Only where sponsorship is on | -32602 bad parameter. -32601 without sponsorship. -32000 |
archive_getCoverage | Archive | Returns {earliest, head: {number, hash, stateRoot}} of the published coverage. head is null until something is published | -32000 |
archive_getLogs | Archive | (LogQuery, cursor?, limit). One page of logs in canonical order, with an opaque cursor | -32001, -32005 |
archive_getAddressActivity | Archive | (ActivityQuery, cursor?, limit). One page of an address's activity | -32001, -32005 |
airlock_getProof | Archive | (beaconHeight, request). A relayer's cross-zone proof at a followed settlement-layer height | -32602 (also a pruned height, data {firstRetained}), -32001, -32002 slot absent ({settledHeight}), -32005, -32000 |
archive_getReceiptProof | Archive | (beaconHeight, blockNumber, transactionIndex, count?). A proof of the receipts at those indexes at a followed settlement-layer height | -32602 (also a pruned height, data {firstRetained}), -32001, -32002 receipt absent ({settledHeight}), -32005, -32000 |
Archive RPC methods
Direct (28): eth_chainId, net_version, web3_clientVersion, eth_blockNumber, archive_getCoverage, eth_getBlockByNumber, eth_getBlockByHash, eth_getBlockTransactionCountByNumber, eth_getBlockTransactionCountByHash, eth_getTransactionByBlockNumberAndIndex, eth_getTransactionByBlockHashAndIndex, eth_getTransactionByHash, eth_getTransactionReceipt, eth_getBlockReceipts, eth_getBalance, eth_getTransactionCount, eth_getCode, eth_getStorageAt, eth_getProof, debug_codeByHash, eth_getLogs, archive_getLogs, archive_getAddressActivity, airlock_getProof, archive_getReceiptProof, zone_getCommit, zone_finalizedBeaconHeight, zone_getBeaconStateRoot.
Simulation and tracing (19): eth_call, eth_callMany, eth_simulateV1, eth_estimateGas, eth_createAccessList, debug_traceCall, debug_traceCallMany, trace_call, trace_callMany, trace_rawTransaction, trace_get, trace_filter, debug_traceTransaction, debug_traceBlockByNumber, debug_traceBlockByHash, trace_transaction, trace_block, trace_replayTransaction, trace_replayBlockTransactions.
Everything else returns -32601.