Skip to content

Latest commit

 

History

History
115 lines (85 loc) · 2.55 KB

json-rpc-endpoints.md

File metadata and controls

115 lines (85 loc) · 2.55 KB

JSON RPC Endpoints

ETH

Supported

  • eth_blockNumber
  • eth_chainId
  • eth_gasPrice
  • eth_getBlockByHash
  • eth_getBlockByNumber
  • eth_getFilterChanges
  • eth_getFilterLogs
  • eth_getLogs
  • eth_getTransactionByBlockHashAndIndex
  • eth_getTransactionByHash
  • eth_getTransactionCount
  • eth_getBlockTransactionCountByHash
  • eth_getBlockTransactionCountByNumber
  • eth_getTransactionReceipt
  • eth_newBlockFilter
  • eth_newFilter
  • eth_uninstallFilter
  • eth_syncing
  • eth_subscribe
  • eth_unsubscribe

Differences

  • eth_call * doesn't support state override at the moment and pending block
  • eth_estimateGas * if the block number is set to pending we assume it is the latest
  • eth_getBalance * if the block number is set to pending we assume it is the latest
  • eth_getCode * if the block number is set to pending we assume it is the latest
  • eth_getCompilers * response is always empty
  • eth_getStorageAt * if the block number is set to pending we assume it is the latest
  • eth_getTransactionByBlockNumberAndIndex * if the block number is set to pending we assume it is the latest
  • eth_newPendingTransactionFilter * not supported yet
  • eth_sendRawTransaction * can relay TXs to another node
  • 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_protocolVersion * response is always zero

Not supported

  • eth_accounts * not supported
  • eth_coinbase * not supported
  • eth_compileSolidity * not supported
  • eth_compileLLL * not supported
  • eth_compileSerpent * not supported
  • eth_getWork * not supported
  • eth_hashrate * not supported
  • eth_mining * not supported
  • eth_sendTransaction * not supported
  • eth_sign * not supported
  • eth_signTransaction * not supported
  • eth_submitWork * not supported
  • eth_submitHashrate * not supported

NET

Supported

  • net_version

Differences

TBD

Not supported

  • net_listening * not supported
  • net_peerCount * not supported

TXPOOL

Supported

TBD

Differences

  • txpool_content * response is always empty

Not supported

TBD

WEB3

Supported

  • web3_clientVersion
  • web3_sha3

Differences

TBD

Not supported

TBD

ZKEVM

  • zkevm_consolidatedBlockNumber
  • zkevm_isBlockConsolidated
  • zkevm_isBlockVirtualized
  • zkevm_batchNumberByBlockNumber
  • zkevm_batchNumber
  • zkevm_virtualBatchNumber
  • zkevm_verifiedBatchNumber
  • zkevm_getBatchByNumber
  • zkevm_getBroadcastURI