Skip to content

Latest commit

 

History

History
68 lines (60 loc) · 2.7 KB

json-rpc-endpoints.md

File metadata and controls

68 lines (60 loc) · 2.7 KB

JSON RPC Endpoints

Here you will find the list of all supported JSON RPC endpoints and any differences between them in comparison to the default behavior of an ethereum node.

If the endpoint is not in the list below, it means this specific endpoint is not supported yet, feel free to open an issue requesting it to be added and please explain the reason why you need it.

Warning: debug endpoints are considered experimental as they have not been deeply tested yet

  • debug_traceBlockByHash
  • debug_traceBlockByNumber
  • debug_traceTransaction
  • eth_blockNumber
  • eth_call
    • doesn't support state override at the moment and pending block. Will be implemented #1990
    • doesn't support from values that are smart contract addresses. Will be implemented #2017
  • eth_chainId
  • eth_estimateGas * if the block number is set to pending we assume it is the latest
  • eth_gasPrice
  • eth_getBalance * if the block number is set to pending we assume it is the latest
  • eth_getBlockByHash
  • eth_getBlockByNumber
  • eth_getBlockTransactionCountByHash
  • eth_getBlockTransactionCountByNumber
  • eth_getCode * if the block number is set to pending we assume it is the latest
  • eth_getCompilers * response is always empty
  • eth_getFilterChanges
  • eth_getFilterLogs
  • eth_getLogs
  • eth_getStorageAt * if the block number is set to pending we assume it is the latest
  • eth_getTransactionByBlockHashAndIndex
  • eth_getTransactionByBlockNumberAndIndex * if the block number is set to pending we assume it is the latest
  • eth_getTransactionByHash
  • eth_getTransactionCount
  • eth_getTransactionReceipt * doesn't include effectiveGasPrice. Will include once EIP1559 is implemented
  • eth_getUncleByBlockHashAndIndex * response is always empty
  • eth_getUncleByBlockNumberAndIndex * response is always empty
  • eth_getUncleCountByBlockHash * response is always zero
  • eth_getUncleCountByBlockNumber * response is always zero
  • eth_newBlockFilter
  • eth_newFilter
  • eth_protocolVersion * response is always zero
  • eth_sendRawTransaction * can relay TXs to another node
  • eth_subscribe
  • eth_syncing
  • eth_uninstallFilter
  • eth_unsubscribe
  • net_version
  • txpool_content * response is always empty
  • web3_clientVersion
  • web3_sha3
  • zkevm_batchNumber
  • zkevm_batchNumberByBlockNumber
  • zkevm_consolidatedBlockNumber
  • zkevm_getBatchByNumber
  • zkevm_isBlockConsolidated
  • zkevm_isBlockVirtualized
  • zkevm_verifiedBatchNumber
  • zkevm_virtualBatchNumber