Returns the feeHistory for a given a block range.
2.0 "2.0"
The name of the method to be invoked.
quai_feeHistory "quai_feeHistory"
The block count, the latest block to be queried, and the fee percentiles.
3 elements["0x2", "0x8", [2, 4, 6]]A unique identifier for the request.
1
Successful response
"2.0"
Returns the feeHistory percentiles for the provided block range.
{
"oldestBlock": "0x15d",
"reward": [
["0x3b9aca00", "0x3b9aca00", "0x3b9aca00"],
["0x3b9aca00", "0x3b9aca00", "0x3b9aca00"]
],
"baseFeePerGas": ["0x12", "0x10", "0x1e"],
"gasUsedRatio": [0.0441, 0.0023625]
}1