🤔 Got questions? Schedule an office hours session.

eth_feeHistory - ApeChain


Summary

Returns base fee per gas and transaction effective priority fee per gas history for the requested block range if available.

Parameters

1. Block Count Number

The number of blocks in the requested range
Example: Integer between 1 and 1024

2. Block Number Quantity or Tag

Hex block number, or the string latest, earliest or pending
Example: i.e. latest or pending

3. Percentiles Number[]

A monotonically increasing list of percentile values to sample from each block's effective priority fees per gas in ascending order, weighted by gas used.
Example: [25, 50, 75]

Code Examples