Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

eth

The eth namespace is the Ethereum-compatible core of the API: chain and block data, account state, transaction submission and receipts, call simulation, gas and fee quotes, and log filters. It is on by default and every node role should serve it; validators need it because observers forward eth_sendRawTransaction to a committee validator’s advertised RPC endpoint.

Telcoin Network changes a few of these methods so they agree with how the network prices transactions. eth_gasPrice, eth_maxPriorityFeePerGas, the next-block entry of eth_feeHistory, and simulations at latest or pending (eth_call, eth_estimateGas, eth_createAccessList) use the worker’s current epoch base fee rather than the latest header’s, and eth_sendRawTransaction honours the operator’s --rpc.txfeecap.

The methods with a page are listed in the sidebar, with the log filter methods under Filter Methods.

Served methods without a page yet

The node also serves these eth methods. They behave as in reth unless noted.

MethodNotes
eth_blobBaseFee
eth_callBundleWaits for the same concurrency permit as eth_call, and for one of the --rpc.proof-permits permits (25 by default), which eth_getProof, eth_callMany and eth_simulateV1 share; it keeps both until its work ends, even after its client disconnects. The bundle’s transactions share one block gas limit (gasLimit, or the node’s call gas cap): a transaction whose gas limit exceeds what the earlier ones left fails the whole request, and a bundle with more transactions than the node’s call gas cap (--rpc.gascap) can hold at 21,000 gas each is refused before any is decoded, whatever its gasLimit. A request keeps at most 32 MiB of return and revert data in all, counted raw: the transaction that takes it past 32 MiB fails the request with -32602 request exceeds the output budget of 33554432 bytes
eth_callManyOne request shares a gas budget of --rpc.gascap across all its calls: a request with more calls than the budget can hold at 21,000 gas each is refused, and the request fails once the gas its calls used exceeds the budget. A request keeps at most 32 MiB of return and revert data in all, counted raw: the call that takes it past 32 MiB fails the request with -32602 request exceeds the output budget of 33554432 bytes. Each request takes one of the --rpc.proof-permits permits (25 by default), which eth_getProof, eth_callBundle and eth_simulateV1 share, and keeps it until its work ends, even after its client disconnects. Under the default --rpc.pending-block none, pending selects the latest block
eth_fillTransactionMissing fee fields are filled from the worker’s epoch base fee
eth_getAccount
eth_getAccountInfo
eth_getHeaderByHash
eth_getHeaderByNumber
eth_getRawTransactionByBlockHashAndIndex
eth_getRawTransactionByBlockNumberAndIndex
eth_getRawTransactionByHash
eth_getTransactionBySenderAndNoncenull when the sender’s nonce moved without a transaction of theirs in the block (a contract creation, or a system call)
eth_sendRawTransactionSyncGuarded by --rpc.txfeecap like eth_sendRawTransaction
eth_simulateV1Block count capped by --rpc.max-simulate-blocks. One request shares a gas budget of --rpc.gascap across the calls of all its blocks: a call runs with at most the gas the earlier calls left, even if its gas is higher, and the request fails once less than 21,000 gas is left for the next call. A request keeps at most 32 MiB of return, revert and log data in all, counted raw: the call that takes it past 32 MiB fails the request with -32602 request exceeds the output budget of 33554432 bytes. Each request takes one of the --rpc.proof-permits permits (25 by default), which eth_getProof, eth_callMany and eth_callBundle share, and keeps it until its work ends, even after its client disconnects. Under the default --rpc.pending-block none, pending selects the latest block
eth_subscribe, eth_unsubscribeWebSocket and IPC only. A logs subscription’s filter takes the same size limit as eth_getLogs: at most 1,000 addresses and 1,000 values per topic position

These are registered but cannot do useful work on Telcoin Network:

MethodResult
eth_signTransaction, eth_signTypedDataError: the node holds no signing accounts (see eth_sign)
eth_coinbase, eth_mining, eth_getWork, eth_submitWorkError: unimplemented
eth_hashrateAlways 0x0
eth_submitHashrateAlways false
eth_getBlockAccessListByBlockHash, eth_getBlockAccessListByBlockNumberError: unimplemented