All Products

eth_feeHistory - Ethereum Sepolia


Summary

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


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 Example

eth_feeHistory curl

Don’t have an Access Key?

Start using this API in your app today.

Get started for free