JSONRPC

Akula supports the following standard JSONRPC calls:

eth

  • eth_blockNumber
  • eth_chainId
  • eth_call
  • eth_estimateGas
  • eth_getBalance
  • eth_getBlockByHash
  • eth_getBlockByNumber
  • eth_getBlockTransactionCountByHash
  • eth_getBlockTransactionCountByNumber
  • eth_getCode
  • eth_getStorageAt
  • eth_getTransactionByHash
  • eth_getTransactionByBlockHashAndIndex
  • eth_getTransactionByBlockNumberAndIndex
  • eth_getTransactionCount
  • eth_getTransactionReceipt
  • eth_getUncleByBlockNumberAndIndex
  • eth_getUncleCountByBlockHash
  • eth_getUncleCountByBlockNumber
  • eth_syncing

net

  • net_listening
  • net_peerCount
  • net_version

trace

  • trace_call
  • trace_callMany
  • trace_rawTransaction
  • trace_replayBlockTransactions
  • trace_replayTransaction
  • trace_block
  • trace_filter

erigon

  • erigon_getHeaderByNumber

otterscan

  • ots_getApiLevel
  • ots_getInternalOperations
  • ots_searchTransactionsBefore
  • ots_searchTransactionsAfter
  • ots_getBlockDetails
  • ots_getBlockDetailsByHash
  • ots_getBlockTransactions
  • ots_hasCode
  • ots_getTransactionError
  • ots_getTransactionBySenderAndNonce
  • ots_getContractCreator

Please consult Ethereum Foundation docs for detailed description of each RPC call.

gRPC

In addition to standard JSONRPC APIs, Akula supports additional APIs resembling JSONRPC, but over gRPC protocol, served by default at port 7545.