Comment on page
eth_baseFee
Get the base fee for the next block.
The
eth_baseFee
command is used to retrieve the base fee for the next block.eth_baseFee() -> {}
result
is the hex value of the base fee for the next block.Request
curl -X POST --data '{
"jsonrpc":"2.0",
"id" :1,
"method" :"eth_baseFee",
"params" :[]
}' -H 'content-type:application/json;' https://ava-mainnet.blastapi.io/<project-id>/ext/bc/C/rpc
Result
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x1ed2dfc550"
}
Last modified 9mo ago