Parameters
string
required
Number of blocks to return (hex, max 1024)
string
required
Newest block (hex), or
latest, pendingarray
Array of percentiles for priority fee sampling
Returns
object
Fee history object
Call eth_feeHistory on Goldsky Edge RPC to return historical base fees, gas usage ratios, and priority-fee reward percentiles across a range of EVM blocks.
latest, pending