Mint Cost Calculator with Gas
Free to download on every platform. Comes pre-installed on BotFone, BotPad and BotFlip — with extra free apps included.
About this app
WHAT IT DOES
Mint Cost Calculator with Gas watches the current page for mint activity, reads the mint price from the contract via eth_call, reads the current gas price via eth_gasPrice, and calculates the total mint cost (mint price + estimated gas fees) in the native token, with options to display cost in USD or other currencies using a price feed, and alerts when the total cost exceeds a user-defined threshold. It helps you know exactly how much a mint will cost before you commit.
WHERE IT RUNS
This tool operates as a userscript within the BotGentz extension framework, running directly in your browser on any website. It works on any EVM-compatible blockchain page—Ethereum, Polygon, Arbitrum, Optimism, and more—where mint contracts are deployed. The tool integrates seamlessly into your workflow, appearing as a draggable panel that stays accessible as you evaluate mint costs.
HOW TO USE
Enter the mint contract address and the price function name in the "Contract Setup" section. Set the estimated gas limit, gas price threshold, maximum total cost threshold, and optional ETH/USD rate. Set the refresh interval and toggle desktop notifications on or off. Click "Connect & Calculate" to connect your real wallet extension, which will begin calculating mint costs at your specified interval. The panel displays the total cost, mint price, gas fee, gas price, and USD equivalent. When the gas price exceeds the threshold or the total cost exceeds the max limit, you'll receive a notification. Use "Calculate Now" for an immediate calculation, or "Stop Monitoring" to disconnect.
TECHNICAL OPERATION
Mint Cost Calculator with Gas uses raw JSON-RPC calls via window.ethereum.request() to interact with the blockchain. It loads ethers at runtime using a simple script tag injection for ABI encoding and contract interactions. The tool reads the mint price using eth_call with the user-specified price function. It reads the current gas price using eth_gasPrice. The total cost is calculated as mint price + (gas price in Gwei × gas limit × 1e-9). The tool attempts multiple common price function names (getPrice, getMintPrice, mintPrice, currentPrice, price) as fallbacks. For USD conversion, the tool optionally fetches the ETH/USD price from an external API (CoinGecko) or uses a user-provided manual rate. The tool checks user-defined thresholds and triggers notifications when exceeded. The display updates in real-time with the current gas price and mint price.
THE PANEL
The Mint Cost Calculator with Gas panel is fully draggable and remembers its position between sessions using GM_setValue. It snaps to the edge of the viewport for a clean interface and can be collapsed to a small icon when not in use. The panel is resizable to accommodate longer content. Press Escape to quickly close or collapse the panel. The design is optimized for productivity with a dark theme, clear visual hierarchy, and responsive controls that adapt to your workflow.
PLEASE NOTE
This tool requires the free BotGentz extension installed in your browser and a real EVM wallet extension (MetaMask, Rabby, etc.) already installed. EVM chains only—this does not work on non-EVM blockchains. The tool cannot read mint price if the contract does not expose a view function for it, cannot accurately estimate gas cost without knowing the exact gas usage, cannot predict future gas price fluctuations, and cannot detect off-chain price data without an external API. No private keys are stored or transmitted—all data is read-only from the blockchain. Always verify the contract address and price function before using the calculator.