eth_base_fee RPC Method
Parameters
This method does not accept any parameters
Returns
result
String
The hex value ofthe base fee for the next block.
Request
1curl --location --request POST https://docs-demo.avalanche-mainnet.quiknode.pro/ext/bc/C/rpc/ext/bc/C/rpc \2--header 'Content-Type: application/json' \3--data-raw '{4"jsonrpc": "2.0",5"method": "eth_baseFee",6"params": [],7"id": 18}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free