Skip to content

Latest commit

 

History

History
80 lines (72 loc) · 3.4 KB

json-rpc-endpoints.md

File metadata and controls

80 lines (72 loc) · 3.4 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
  • debug_traceBatchByNumber
  • 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 * allows an extra boolean parameter to query l2 extra information
  • eth_getBlockByNumber * allows an extra boolean parameter to query l2 extra information
  • 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 * allows an extra boolean parameter to query l2 extra information
  • eth_getTransactionByBlockNumberAndIndex * if the block number is set to pending we assume it is the latest; * allows an extra boolean parameter to query l2 extra information
  • eth_getTransactionByHash * allows an extra boolean parameter to query l2 extra information
  • 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_estimateFee
  • zkevm_estimateGasPrice
  • zkevm_estimateCounters
  • zkevm_getBatchByNumber
  • zkevm_getBatchDataByNumbers
  • zkevm_getExitRootsByGER
  • zkevm_getFullBlockByHash
  • zkevm_getFullBlockByNumber
  • zkevm_getLatestGlobalExitRoot
  • zkevm_getNativeBlockHashesInRange
  • zkevm_getTransactionByL2Hash
  • zkevm_getTransactionReceiptByL2Hash
  • zkevm_isBlockConsolidated
  • zkevm_isBlockVirtualized
  • zkevm_verifiedBatchNumber
  • zkevm_virtualBatchNumber