{ "id": 1, "jsonrpc": "2.0", "method": "eth_feeHistory", "params": ["0x5", "latest", [20, 70]] }
{ "id": 1, "jsonrpc": "2.0", "result": { "oldestBlock": "0x1", "baseFeePerGas": [ "0x3b9aca00", "0x3ba1f3e2", "0x3a6db1e6" ], "gasUsedRatio": [ 0.5265, 0.4858, 0.6124 ], "reward": [ [ "0x3b9aca00", "0x3b9aca00" ], [ "0x3ba1f3e2", "0x3b9aca00" ], [ "0x3a6db1e6", "0x3b9aca00" ] ] } }
Get historical gas fee information for a range of blocks
Show Fee history object properties
Was this page helpful?