eth_feeHistory
eth_feeHistory
Returns transaction base fee per gas and effective priority fee per gas for the requested/supported block range.
Request
This endpoint expects an object.
blockCount
Number of blocks in the requested fee history.
newestBlock
Newest block number or tag for the fee history range.
rewardPercentiles
Optional priority fee percentiles to sample for each block.
Response
Historical fee data for the requested block range.
oldestBlock
Hex-encoded integer quantity.
baseFeePerGas
gasUsedRatio
reward