For AI agents: a documentation index is available at /llms.txt. Markdown versions of pages are available by appending .md to any documentation URL.
Skip to main content

ETH methods

The ETH API methods allow you to interact with the blockchain.

note

Methods with an equivalent GraphQL query include a GraphQL request and result in the method example. The parameter and result descriptions apply to the JSON-RPC requests. The GraphQL specification is defined in the schema.

The ETH methods are grouped into the following pages.

Client and network

Query client and network information.

  • eth_accounts
  • eth_blockNumber
  • eth_capabilities
  • eth_chainId
  • eth_config
  • eth_protocolVersion
  • eth_syncing

Block

Query blocks and their contents.

  • eth_getBlockByHash
  • eth_getBlockByNumber
  • eth_getBlockReceipts
  • eth_getBlockTransactionCountByHash
  • eth_getBlockTransactionCountByNumber
  • eth_getUncleByBlockHashAndIndex
  • eth_getUncleByBlockNumberAndIndex
  • eth_getUncleCountByBlockHash
  • eth_getUncleCountByBlockNumber

Transaction

Retrieve transactions and transaction receipts.

  • eth_getTransactionByBlockHashAndIndex
  • eth_getTransactionByBlockNumberAndIndex
  • eth_getTransactionByHash
  • eth_getTransactionBySenderAndNonce
  • eth_getTransactionReceipt

State and account

Read account state at a given block.

  • eth_getBalance
  • eth_getCode
  • eth_getProof
  • eth_getStorageAt
  • eth_getStorageValues
  • eth_getTransactionCount

Execution

Execute calls and perform actions without changing blockchain state.

  • eth_call
  • eth_createAccessList
  • eth_estimateGas
  • eth_simulateV1

Fee market

Query gas price and fee market information.

  • eth_baseFee
  • eth_blobBaseFee
  • eth_feeHistory
  • eth_gasPrice
  • eth_maxPriorityFeePerGas

Filter and log

Manage filters and query event logs.

  • eth_getFilterChanges
  • eth_getFilterLogs
  • eth_getLogs
  • eth_newBlockFilter
  • eth_newFilter
  • eth_newPendingTransactionFilter
  • eth_uninstallFilter

Submit

Submit signed transactions to the network.

  • eth_sendRawTransaction