Granite Upgrade Activates in12d:17h:00m:53s
Eth

eth_call

Executes a call without sending a transaction.

POST
/ext/bc/C/rpc#eth_call

JSON-RPC request

jsonrpcstring
methodstring
params

[transactionObject, blockParameter]

Items2 <= items <= 2
idinteger

Response Body

application/json

application/json

curl -X POST "https://api.avax.network/ext/bc/C/rpc#eth_call" \  -H "Content-Type: application/json" \  -d '{    "jsonrpc": "2.0",    "method": "eth_call",    "params": [      {        "to": "0x08a2e41fb99a7599725190b9c970ad3893fa33cf",        "data": "0x18160ddd"      },      "latest"    ],    "id": 1  }'
{
  "jsonrpc": "2.0",
  "result": null,
  "error": {
    "code": 0,
    "message": "string",
    "data": null
  },
  "id": 1
}
{
  "jsonrpc": "2.0",
  "error": {
    "code": 0,
    "message": "string",
    "data": null
  },
  "id": 1
}

Is this guide helpful?