eth_feeHistory
Returns transaction base fee per gas and effective priority fee per gas for the requested block range.
Path parameters
apiKey
Request
This endpoint expects an object.
blockCount
The number of blocks in the requested range. Must be greater than zero. Clients may return fewer blocks if not all blocks are available.
newestBlock
The highest block number of the requested range, or 'latest' for the most recent block.
rewardPercentiles
An optional array of percentile values (between 0 and 100) in ascending order.
Response
Fee history for the returned block range. This can be a subsection of the requested range if not all blocks are available.
oldestBlock
baseFeePerGas
gasUsedRatio
reward
A two-dimensional array of effective priority fees per gas.
baseFeePerBlobGas
blobGasUsedRatio