v1
latestOpenAPI 3.0.02026-07-26541677.9 KBEthereum API
eth_feeHistory
Returns fee data for historical blocks
post/eth_feeHistory
Request body
Response
Returns fee history data
Example response
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"oldestBlock": "0x3030",
"baseFeePerGas": [
"0x7",
"0x6",
"0x6",
"0x5",
"0x4",
"0x3",
"0x3",
"0x3",
"0x3",
"0x3",
"0x3"
],
"gasUsedRatio": [
0.5,
0.4,
0.5,
0.4,
0.5,
0.4,
0.5,
0.4,
0.5,
0.4
]
}
}