eth_feeHistory
Returns historical gas information, allowing you to track trends over time.
Last updated
{
"id":1,
"jsonrpc": "2.0",
"result": {
baseFeePerGas: [ '0x7', '0x7', '0x7', '0x7', '0x7', '0x7' ],
gasUsedRatio: [ 0, 0, 0, 0, 0 ],
oldestBlock: '0x667017',
reward: [ ["0x0","0x0"], ["0x0","0x0"],
["0x0","0x0"],["0x0","0x0"],
["0x0","0x0"] ]
}
}