Check out our new component library - build.abs.xyz!
curl --request POST \
--url https://api.mainnet.abs.xyz/eth_estimateGas \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": 1,
"method": "eth_estimateGas",
"params": [
{
"to": "0xc94770007dda54cF92009BFF0dE90c06F603a09f",
"data": "0x"
}
]
}
'{
"jsonrpc": "2.0",
"id": 1,
"result": "0x5cec"
}Estimates the amount of gas needed to execute a call
curl --request POST \
--url https://api.mainnet.abs.xyz/eth_estimateGas \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": 1,
"method": "eth_estimateGas",
"params": [
{
"to": "0xc94770007dda54cF92009BFF0dE90c06F603a09f",
"data": "0x"
}
]
}
'{
"jsonrpc": "2.0",
"id": 1,
"result": "0x5cec"
}Documentation Index
Fetch the complete documentation index at: https://docs.abs.xyz/llms.txt
Use this file to discover all available pages before exploring further.
Was this page helpful?