Eth
eth_call
Executes a call without sending a transaction.
JSON-RPC request
jsonrpcstring
methodstring
params
[transactionObject, blockParameter]
Items
2 <= items <= 2idinteger
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?