Skip to content

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
Forwarded
Archive RPC
Not available

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:

Check the chain ID
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.

TagMeaning
LocalAnswered by the full node
Local, pending forwardedAnswered by the full node, except a request that selects pending, which the Block Producer answers
ForwardedAlways answered by the Block Producer
UnavailableFails on the full node with the code shown
Full nodeMethodsNotes
Forwardedeth_sendRawTransaction, eth_sendRawTransactionSync, eth_fillTransactionAdmission happens in the Block Producer's pool, which also supplies eth_fillTransaction's nonce. rpc.forward_timeout_ms bounds a synchronous submission
Forwardedzone_sponsorshipSponsorship counts live on the Block Producer
Local, pending forwardedeth_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_getLogsEvery 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 refusedeth_callBundle, eth_callMany, eth_simulateV1A 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
Localeth_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_sha3eth_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>
Localeth_newFilter, eth_newBlockFilter, eth_uninstallFilter, eth_getFilterChanges, eth_getFilterLogsFilters 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
Localeth_subscribe / eth_unsubscribe with newHeads, logs, syncingLocally committed blocks. WebSocket only
Unavailableeth_newPendingTransactionFilter, eth_subscribe with newPendingTransactions-32004 application RPC capability unavailable: pending transactions. The full node has no pool
Unavailableeth_sendTransaction, eth_sign, eth_signTransaction, eth_signTypedDataNo signers
Unavailableeth_getWork, eth_hashrate, eth_mining, eth_protocolVersion, eth_submitHashrate, eth_submitWork, net_peerCount, net_listening-32004

RPC servers

ServerWho runs itTransportMethods
Full-node RPCEvery full node, including LayerZero's public RPCHTTP rpc.http_address, optional WebSocket rpc.ws_addressAs above
Block RPCEvery full nodeHTTP full_node.block_rpc_addresszone_getBlock only
Archive RPCLayerZeroHTTP28 direct methods plus 19 simulation methods. See Archive RPC methods
Block Producer RPCThe Block Producer. Private: it admits only approved full nodesHTTP, optional WebSocketThe 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.

LimitWhen it's exceeded
batch_callsThe whole batch is refused with -32010 The batch request was too large
request_timeout_msA call, or a whole batch, gets -32005 request timed out. Work already handed off still finishes
concurrent_requestsThe 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:

TagMeaning
SameBehaves as on Ethereum. The zone's own formats still apply: Zero's state roots, no blob fields
HeadReads 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
ReplayRe-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
-32004Registered, but the zone doesn't provide the capability (application RPC capability unavailable: …)
-32601Not registered: method not found
-32603 fixedRegistered, and always returns an internal error
-32003transaction type not supported: a blob (type 3) transaction or blob fields
ArchiveYes 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, safe and finalized all 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 or pending.

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

Methodreth v1.11.3Block ProducerArchiveNotes
eth_accountsYesSame—Returns []: no local signers
eth_blobBaseFeeYes-32601 (removed)—No blobs
eth_blockNumberYesSameYesThe archive returns its published head
eth_callYesHeadYesExecution is capped at the zone's per-transaction gas limit, not the block gas limit. Blob fields return -32003
eth_callManyYesHeadYesThe archive enforces simulation_calls (-32005)
eth_chainIdYesSameYes—
eth_coinbaseYes, -32603 unimplementedReturns the block beneficiary—The zero address, matching the COINBASE opcode
eth_createAccessListYesHeadYes—
eth_estimateGasYesHeadYes—
eth_feeHistoryYesChanged—Reward percentiles are zero because priority fees are burned. baseFeePerBlobGas and blobGasUsedRatio are empty
eth_fillTransactionYesHead——
eth_gasPriceYesChanged—The next block's fixed base fee alone: no tip is suggested, since blocks take transactions first in, first out
eth_getAccountYesHead, changed shape—Returns {balance, nonce, codeHash}, with no storageRoot
eth_getAccountInfoYesHead——
eth_getBalanceYesHeadYes—
eth_getBlockAccessListByBlockHashYes, -32603 unimplemented-32603 fixed——
eth_getBlockAccessListByBlockNumberYes, -32603 unimplemented-32603 fixed——
eth_getBlockByHashYesSameYesZero'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_getBlockByNumberYesSameYesThe archive rejects pending (-32602)
eth_getBlockReceiptsYesSameYesNo blob fields
eth_getBlockTransactionCountByHashYesSameYes—
eth_getBlockTransactionCountByNumberYesSameYes—
eth_getCodeYesHeadYes—
eth_getHeaderByHashYesSame——
eth_getHeaderByNumberYesSame——
eth_getProofYes (EIP-1186)Changed: Head; pending returns -32603YesReturns 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_getRawTransactionByBlockHashAndIndexYesSame——
eth_getRawTransactionByBlockNumberAndIndexYesSame——
eth_getRawTransactionByHashYesSame——
eth_getStorageAtYesHeadYes—
eth_getTransactionByBlockHashAndIndexYesSameYes—
eth_getTransactionByBlockNumberAndIndexYesSameYes—
eth_getTransactionByHashYesSameYesArchive: -32001, not null, for a hash it never indexed
eth_getTransactionBySenderAndNonceYesWorks for a pool hit or a nonce at or above the current one; otherwise -32603——
eth_getTransactionCountYesHeadYes—
eth_getTransactionReceiptYesSameYesArchive: -32001, not null, for a hash it never indexed
eth_getUncleByBlockHashAndIndexYesSame—No ommers
eth_getUncleByBlockNumberAndIndexYesSame——
eth_getUncleCountByBlockHashYesSame——
eth_getUncleCountByBlockNumberYesSame——
eth_getWork, eth_hashrate, eth_mining, eth_submitHashrate, eth_submitWorkYes-32004—No mining
eth_maxPriorityFeePerGasYesChanged—Always 0: a tip buys no earlier place
eth_protocolVersionYes-32004—No peer networking
eth_sendRawTransactionYesType 3 returns -32003. Contract creation by an unapproved deployer returns -32000—See Contract deployment
eth_sendRawTransactionSyncYesAs eth_sendRawTransaction——
eth_sendTransaction, eth_sign, eth_signTransaction, eth_signTypedDataYesSame: no signers——
eth_simulateV1YesHeadYesThe 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_syncingYesChanged—Reports the zone head against the settlement layer's target. -32004 until the node has initialized
eth_callBundleYesHead—Type 3 returns -32003. gasFees is zero
eth_sendBundle, eth_cancelBundle, eth_sendPrivateTransaction, eth_sendPrivateRawTransaction, eth_cancelPrivateTransaction, eth_sendRawTransactionConditionalTrait only-32601——
eth_configYesChanged—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_uninstallFilterYesSame——
eth_getFilterChangesYesSame—Committed blocks only: a pending bound reaches the head
eth_getFilterLogsYesChanged—As eth_getLogs over the filter's range
eth_getLogsYesChangedYesA 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_unsubscribeYesnewHeads, logs, newPendingTransactions, syncing—WebSocket only. newHeads goes quiet while there is no traffic

net and web3

Methodreth v1.11.3Block ProducerArchiveNotes
net_versionYesSameYesChain ID as a decimal string
net_peerCount, net_listeningYes-32004—No peer networking
web3_clientVersionYesChanged: zero-evm-zone/<version>YesThe archive returns zero-evm-zone/archive/<version>
web3_sha3YesSame——

debug

Served by the Block Producer and, for the methods marked, the archive RPC. A full node doesn't serve debug.

Methodreth v1.11.3Block ProducerArchiveNotes
debug_chainConfigYesChanged—Returns the genesis config as is. The zone ignores those forks, so it may not match the rules the zone runs
debug_codeByHashYesHeadYes—
debug_dbGetYesSame, at the head——
debug_getBadBlocksYesChanged: always []——
debug_getRawBlock, debug_getRawHeader, debug_getRawReceipts, debug_getRawTransaction, debug_getRawTransactionsYesSame—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_traceBlockYesReplay. Works only when the block's parent is the current head——
debug_traceBlockByHash, debug_traceBlockByNumberYesReplayYes—
debug_traceCall, debug_traceCallManyYesHeadYesThe archive checks the transaction index is within the block
debug_traceTransactionYesReplayYesThe archive returns -32001 outside its coverage
debug_executionWitness, debug_executionWitnessByBlockHash, debug_stateRootWithUpdates, debug_setTrieFlushIntervalYes-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_traceChainYes-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_writeMutexProfileYes, mostly no-ops-32004——

trace

Methodreth v1.11.3Block ProducerArchiveNotes
trace_call, trace_callManyYesHeadYes—
trace_rawTransactionYesHeadYesType 3 returns -32003
trace_replayTransaction, trace_replayBlockTransactions, trace_transaction, trace_getYesReplayYes—
trace_blockYesReplayYesNo block-reward traces
trace_filterYesReplayYesThe archive caps trace_blocks and trace_results (-32005)
trace_blockOpcodeGas, trace_transactionOpcodeGasYesReplay——

Other namespaces on the Block Producer

These are served only by the Block Producer, which is private.

MethodBlock ProducerNotes
txpool_content, txpool_contentFrom, txpool_inspect, txpool_statusSame—
rpc_modulesSameLists 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 unsubscribesSameFinality is the settlement-layer confirmation. Not served with rpc.history
reth_getBalanceChangesInBlock-32603Needs historical state
mev_simBundleHeadType 3 returns -32003
miner_*, admin_* (except admin_clearTxpool)-32004No mining or peer networking
mev_sendBundle, flashbots_validateBuilderSubmissionV1–V5, testing_buildBlockV1, anvil_*, hardhat_*, engine_*-32601Not served

Zone methods

MethodServerBehaviourErrors
zone_getBlockBlock RPC, on every full nodeTakes 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_getCommitFull 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_finalizedBeaconHeightFull 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_getBeaconStateRootFull 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_sponsorshipBlock 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_getCoverageArchiveReturns {earliest, head: {number, hash, stateRoot}} of the published coverage. head is null until something is published-32000
archive_getLogsArchive(LogQuery, cursor?, limit). One page of logs in canonical order, with an opaque cursor-32001, -32005
archive_getAddressActivityArchive(ActivityQuery, cursor?, limit). One page of an address's activity-32001, -32005
airlock_getProofArchive(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_getReceiptProofArchive(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.