eth_feeHistory
Returns the collection of historical gas information.
This method will use 20
Compute Units.
Parameters
blockCount
, String/Integer - The number of blocks in the requested range. Between 1 and 1024 blocks can be requested in a single query. It will return less than the requested range if not all blocks are available.newestBlock
- String - hexadecimal block number, or the string"latest"
,"earliest"
or"pending"
, see the default block parameter.rewardPercentiles
- Integer - A list of values that go up in order, showing how much people are willing to pay to have their transactions processed quickly. These values are based on:Looking at each block in the time period you're interested in
Ranking the transactions by how much extra tip they offered per unit of gas
Calculating the typical tip amount for different levels (percentiles)
Taking into account how much gas each transaction used
This helps you understand what people are typically paying to get their transactions processed at different speed levels.
Returns
INTEGER
- Hex value representing integer of the current balance in WEI.
Last updated