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

Gas Price Oracle

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

Gas Price Oracle provides real-time gas price data for any EVM-compatible chain you are connected to. It displays the current base fee (from the latest block), suggested priority fee, max fee per gas, max priority fee, and the legacy gas price. The tool also indicates whether the network supports EIP-1559 (the fee market upgrade) and shows a visual fee level bar ranging from "Very Low" to "Critical" based on current network congestion. Auto-refresh updates the data every 30 seconds, ensuring you always have the latest fee information before submitting transactions.

HOW TO USE

Connect your wallet using the BGWallet bridge (MetaMask or any Web3 wallet). The tool automatically detects your current network and fetches the latest gas data. Click "Refresh gas prices" to manually update the data. The tool displays the base fee from the latest block, estimated priority fee for fast inclusion, maximum fee per gas, and a recommended max priority fee. The fee level bar provides a quick visual indicator of network congestion — green for low fees, yellow for medium, orange for high, and red for critical. The tool automatically refreshes every 30 seconds, so you can monitor gas price trends over time.

TECHNICAL MECHANISM

The tool uses ethers.js to read gas data directly from the blockchain through your wallet provider. It calls provider.getBlock('latest') to fetch the latest block, which includes the baseFeePerGas field (for EIP-1559 chains). It also calls provider.getGasPrice() to get the legacy gas price, and provider.getFeeData() (if available) to retrieve maxFeePerGas and maxPriorityFeePerGas. If getFeeData() is not available or returns zeros, the tool checks for EIP-1559 support by testing if maxFeePerGas is non-zero. The priority fee is estimated by using the maxPriorityFeePerGas from the provider, or if that's not available, by calculating 10% of the base fee plus 1 Gwei. The max fee is calculated as base fee + (priority fee * 1.5) to provide a safe buffer for inclusion. The fee level is determined by the base fee in Gwei: Critical (>100 Gwei), High (>50 Gwei), Medium (>25 Gwei), Low (>10 Gwei), or Very Low (≤10 Gwei). All gas values are displayed in Gwei for readability. The tool also shows the chain ID and current block number for context.

WHAT IT CANNOT SEE

The tool cannot predict future gas price movements — it only shows current and recent historical data. It cannot provide gas prices for chains that do not support EIP-1559 (older chains may only have legacy gasPrice). It cannot account for network congestion from pending transactions that have not yet been mined, which can cause the actual fee required for inclusion to be higher than the current base fee. It cannot estimate the exact gas cost for a specific contract interaction without simulating the transaction, as gas usage varies by contract function and input parameters. It cannot detect gas price spikes that occur between refreshes. It cannot provide gas prices for non-EVM chains. The tool is read-only and does not sign any transactions.

PLEASE NOTE

This tool works exclusively on EVM-compatible chains (Ethereum, BNB Chain, Polygon, Arbitrum, Optimism, Base, Avalanche C-Chain, Fantom, and others). Solana, Tron, Starknet, SUI, TON, Aptos, Bitcoin, Cosmos, and XRP are not supported. Gas prices are displayed in Gwei (1 Gwei = 10^-9 ETH). The priority fee estimation is a suggestion — actual required priority may vary based on network conditions. Always check the current fee level before submitting high-value transactions. The tool does not store any data — all reads happen live from the blockchain through your wallet provider. The tool is provided as-is with no warranty or liability. Always verify transaction details in your wallet before signing.

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.