💎 Ethereum

eth_call RPC Method

Executes an on-chain call immediately without creating a transaction on the block chain.


data - The return value of the executed contract method

Need RPC API keys?

Get 12.5M archival requests for free today.



  • from [optional] - The address from which the transaction is sent.
  • to - The address where the transaction is sent to.
  • gas [optional] - Integer of the gas provided for the transaction execution. Although eth_call consumes zero gas, this parameter may still be needed by some executions.
  • gasPrice [optional] - Integer of the gasPrice used for each paid gas as hexadecimal.
  • value [optional] - Interger of the value sent with a stated transaction
  • data [optional] - Hash of the method signature and encoded parameters. More info 👉 Ethereum Contract ABI (opens in a new tab)

2.BLOCK PARAMETER [required]

The string "latest", "earliest", "pending", "safe" or "finalized", or an hexadecimal block number."Safe" and "finalized" are only availible on Ethereum and Arbitrum One chains. Read block parameter description in Ethereum documentation (opens in a new tab).


POST https://<network>.chainnodes.org/YOUR-API-KEY



Confusing? Ask blockchain developers in Chainnodes Telegram Chat (opens in a new tab)

  • HTTPS POST Request with a JSON RPC call in the body
  • Replace YOUR-API-KEY with the API key from your Chainnodes.org Dashboard
  • You can use a different supported network by replacing mainnet
curl https://mainnet.chainnodes.org/YOUR-API-KEY \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{"jsonrpc":"2.0","method":"eth_call","params":[{"from": "0x47ac0Fb4F2D84898e4D9E7b4DaB3C24507a6D503","to": "0xdAC17F958D2ee523a2206206994597C13D831ec7","gas": "0x92c0","gasPrice": "0x7896e72a000","value": "0x0","data": "0x70a0823100000000000000000000000047ac0fb4f2d84898e4d9e7b4dab3c24507a6d503"}, "latest"],"id":1}'


  "jsonrpc": "2.0",
  "id": 1,
  "result": "0x000000000000000000000000000000000000000000000000000470de54da7138"