eth_feeHistory
Returns transaction base fee per gas and effective priority fee per gas for the requested/supported block range.
Parameters
BlockCount
- Requested range of blocks (between 1 to 1024 blocks).NewestBlock
- Highest block of the requested range. Choose 1 of the following options:A hexadecimal block number.
"earliest"
- the earliest/genesis block."latest"
- the latest mined block."safe"
- the latest safe head block."finalized"
- the latest finalized block."pending"
- the pending state/transactions.
RewardPercentiles
- A monotonically increasing list of percentile values. For each block in the requested range, the transactions will be sorted in ascending order by effective tip per gas and the corresponding effective tip for the percentile will be determined, accounting for gas consumed.
Sample Request
Sample Response
Last updated