Skip to main content

eth_baseFee RPC Method

Get the base fee for the next block.

Updated on
Dec 4, 2024

eth_baseFee RPC Method

To use the eth_baseFee method on the C-Chain, ensure that the end of your URL includes ext/bc/C/rpc.

Parameters

This method does not accept any parameters

Returns

result
string
The hex value of the base fee for the next block
Request
1
curl --location --request POST https://docs-demo.flare-mainnet.quiknode.pro/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": 1
8
}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free