Skip to content

RPC


RPC API specification

Supported JSON-RPC APIs

  • eth_getStorageAt
  • eth_getCode
  • eth_getBalance
  • eth_blockNumber
  • web3_clientVersion
  • web3_sha3
  • net_version
  • net_listening
  • net_peerCount
  • eth_protocolVersion
  • eth_chainId
  • eth_mining (alway returns false)
  • eth_getBlockTransactionCountByHash
  • eth_getBlockTransactionCountByNumber
  • eth_getUncleCountByBlockHash
  • eth_getUncleCountByBlockNumber
  • eth_call
  • eth_getTransactionCount
  • eth_getTransactionByHash
  • eth_getTransactionByBlockHashAndIndex
  • eth_getTransactionByBlockNumberAndIndex
  • eth_sendRawTransaction
  • eth_newFilter
  • eth_newBlockFilter
  • eth_newPendingTransactionFilter
  • eth_uninstallFilter
  • eth_getFilterChanges
  • eth_getFilterLogs
  • eth_getLogs
  • eth_subscribe
  • eth_unsubscribe
  • eth_gasPrice
  • eth_getBlockByNumber
  • eth_getBlockByHash
  • eth_estimateGas
  • eth_getTransactionReceipt
  • eth_recoverTransaction
  • eth_getBlockReceipts

Partially supported APIs

These APIs are partially supported; they will return values, but not necessarily meaningful ones.

  • eth_accounts - Will always return an empty set of accounts
  • eth_syncing - Will always return false

Currently unsupported

  • eth_getWork
  • eth_submitWork
  • eth_submitHashrate
  • eth_coinbase
  • eth_getUncleByBlockHashAndIndex
  • eth_getUncleByBlockNumberAndIndex
  • db_putString (deprecated)
  • db_getString (deprecated)
  • db_putHex (deprecated)
  • db_getHex (deprecated)
  • shh_version (deprecated)
  • shh_post (deprecated)
  • shh_newIdentity (deprecated)
  • shh_hasIdentity (deprecated)
  • shh_newGroup (deprecated)
  • shh_addToGroup (deprecated)
  • shh_newFilter (deprecated)
  • shh_uninstallFilter (deprecated)
  • shh_getFilterChanges (deprecated)
  • shh_getMessages (deprecated)