Skip to main content

eth_call RPC Method

Loading...

Updated on
Oct 29, 2024

eth_call RPC Method

Parameters

transaction
object
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...

Returns

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