This app runs inside the BotSurf browser. Don't have it yet? Get the app or extension now!

Gas Price History Chart

Analytics · All
0 installs · Verified BotGentz app
Launch App
Opens in BotSurf — nothing to install.
CategoryAnalytics
PlatformAll
Pricing Free
Installs0
Download BotSurf to use — free
No account needed for free apps. Once BotSurf is open, find this app in Apps from the + menu.

About this app

WHAT IT DOES

Gas Price History Chart shows you exactly how gas prices have fluctuated over recent blocks on any EVM-compatible chain. The tool fetches base fee per gas and estimated priority fee from each block and displays them as an interactive line chart with area fill. You can see trends, identify peak and off-peak periods, and make informed decisions about when to transact. Statistics including average, minimum, and maximum base fees are calculated automatically so you can quickly gauge current network conditions relative to recent history.

HOW TO USE

Connect your wallet to establish an RPC connection, then select your network. Choose a time range from 10 to 200 blocks using the preset buttons or enter a custom number up to 500 blocks. Click "Fetch" and the tool will query each block sequentially, displaying a progress indicator while it works. The chart renders immediately with base fee values plotted chronologically. Hovering isn't supported in the static view, but the statistics panel gives you summary metrics. The chart auto-scales to your data, making both quiet and busy periods clearly visible.

TECHNICAL MECHANISM

The tool fetches block data directly via ethers.js getBlock() calls, extracting baseFeePerGas and timestamp from each block. To handle provider rate limits, the tool uses adaptive chunking: it requests blocks in batches of 20 and halves the batch size if more than half of requests fail, preventing total failure from a single rate-limit rejection. This approach works across public RPCs (which often have tight caps) and private endpoints alike. All data is fetched through your wallet's own provider connection, so the tool inherits whatever archival depth your RPC offers—no API keys needed.

WHAT IT CANNOT SEE

The tool only shows data your RPC provider returns. Many public providers do not support full archival access, meaning older blocks may be unavailable. It cannot predict future gas prices or network congestion—it analyzes only past blocks. Priority fee data is estimated because full transaction details are not fetched per block; the tool uses the range between min and max base fees to provide a reasonable estimate. Some L2 chains have different fee mechanisms (e.g., fixed fees) that this tool may not accurately reflect.

PLEASE NOTE

EVM chains only. This tool reads historical block data and builds no transactions—it never writes, spends, or signs anything. It is a read-only analytics tool. Requires a Web3 wallet to connect.

Similar Apps

Log in to BotGentz

Suggest an App

Tell us what you'd find useful — if we build it, we'll email you the moment it's ready.