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

Gas Price History Overlay

DeFi · All
0 installs · Verified BotGentz app
Launch App
Opens in BotSurf — try it free, no account needed.
CategoryDeFi
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

The Gas Price History Overlay monitors the current network's gas price via window.ethereum and displays a live-updating price history chart that visualizes gas price trends over user-defined periods—1 hour, 6 hours, 24 hours, or 7 days. The chart includes a trend line, fill-under-curve, and a current price marker with label. It also shows key statistical indicators: the current price, average price, high, and low for the selected range. This visual representation helps you quickly understand price patterns, identify whether the current price is high or low relative to recent history, and make informed decisions about when to submit transactions—all at a glance.

WHERE IT RUNS

It runs as a draggable overlay panel inside the BotGentz extension on any website. It does not require specific page DOM content—it connects directly to your wallet provider and reads real-time network data via RPC calls, storing historical data to build the chart.

HOW TO USE

1. Install the free BotGentz extension and ensure you have an EVM‑compatible wallet extension installed (e.g., MetaMask, Rabby, Trust Wallet).

2. Navigate to any page.

3. Click the BotGentz icon and select "Gas Price History Overlay" from the tools menu.

4. The panel opens. Click "Start Monitoring" to connect your wallet and begin collecting gas price data.

5. The chart appears showing the default 24-hour history with current price, high, low, and average indicators.

6. Switch between time ranges (1h, 6h, 24h, 7d) by clicking the buttons below the chart.

7. Monitor the chart as it updates live with new data points.

8. Drag the panel to reposition it, resize it, collapse it, or press Escape to close.

THE ACTUAL MECHANISM — rolling‑window data collection with canvas‑based chart rendering

This tool combines persistent data storage with real-time chart rendering to create a live price history view. It calls `eth_gasPrice` through your wallet provider at a configurable interval (default 5 minutes) and stores each reading with a timestamp in a rolling history array, persisted via GM_setValue to survive page reloads. The history is bounded by a maximum number of data points (default 2880, representing 10 days of data at 5-minute intervals). When rendering the chart, the tool filters the history to the selected time range (1h, 6h, 24h, or 7d), calculates the statistical indicators (current, avg, min, max), and draws the chart on an HTML Canvas element. The chart includes: a price trend line connecting each data point, a semi-transparent fill under the curve for visual depth, a highlighted current price marker with a label, grid lines for reference, and text labels for the high, low, and average prices. The canvas is sized dynamically to fit the panel width and scaled for sharp rendering on high-DPI displays.

THE PANEL

The panel is fully draggable by its title bar and snaps to the nearest edge of the viewport when released. You can resize it horizontally by dragging the left or right border; the height expands to fit content up to a maximum, with scrolling inside the settings area. The chart itself is responsive and resizes with the panel. A collapse button minimizes the panel to a small floating chip showing "⚙️ Gas History" — click it to expand back. Press Escape at any time to close the panel entirely. The panel remembers its last position, size, and expansion state per domain via localStorage.

PLEASE NOTE

- This tool requires the free BotGentz extension and a real EVM wallet extension (e.g., MetaMask) already installed in your browser. It does not include a wallet—it connects to the one you already have.

- This tool works only on EVM‑compatible chains that support the `eth_gasPrice` RPC method through the connected wallet provider.

- The tool cannot predict future gas prices—only displays historical trends. It cannot display data for time ranges longer than the stored history (limited by available data points). It cannot detect price spikes that occur between data points. It cannot store unlimited historical data—history is bounded by a maximum number of data points.

- No private keys, seed phrases, or sensitive data are ever read, stored, or transmitted. The tool only reads public network data through your wallet provider. Gas history data is stored locally in your browser's extension storage. Only anonymized usage metrics (panel open/close, range selection) are collected; you can disable this in the extension settings at any time.

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.