curl --request POST \
--url https://api.mainnet.abs.xyz/eth_call \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"id": 1,
"method": "eth_call",
"params": [
{
"to": "0xc94770007dda54cF92009BFF0dE90c06F603a09f"
},
"latest"
]
}'
{
"jsonrpc": "2.0",
"result": "0x",
"id": 1
}
Executes a new message call immediately without creating a transaction on the blockchain
curl --request POST \
--url https://api.mainnet.abs.xyz/eth_call \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"id": 1,
"method": "eth_call",
"params": [
{
"to": "0xc94770007dda54cF92009BFF0dE90c06F603a09f"
},
"latest"
]
}'
{
"jsonrpc": "2.0",
"result": "0x",
"id": 1
}
Returns the result of the contract execution
The response is of type object
.
Was this page helpful?