Skip to main content

eth_call RPC Method

Loading...

Updated on
Jun 30, 2025

eth_call RPC Method

Parameters

transaction
object
REQUIRED
Loading...
from
string
Loading...
to
string
REQUIRED
Loading...
gas
integer
Loading...
gasPrice
integer
Loading...
value
integer
Loading...
data
string
Loading...
blockNumber/tag
string
REQUIRED
Loading...
Object
object
Loading...
balance
string
Loading...
nonce
string
Loading...
code
string
Loading...
state
object
Loading...
stateDiff
integer
Loading...

Returns

data
string
Loading...
Request
1
curl https://docs-demo.injective-testnet.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{
5
"jsonrpc": "2.0",
6
"id": 1,
7
"method": "eth_call",
8
"params":[{"to":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","data":"0x70a08231000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"}, "latest"]
9
}'
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free