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

Public Mint Executor With Auto-Refund

NFTs · All
0 installs · Verified BotGentz app
Launch App
Opens in BotSurf — nothing to install.
CategoryNFTs
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

Public Mint Executor With Auto-Refund lets you mint NFTs in public sales with built-in automatic refund handling. Instead of manually calculating the exact payment and risking overpayment, you mint the desired quantity and the contract automatically refunds any excess payment above the mint price. If the mint fails—for example, if the supply is exhausted between your check and the transaction—the contract refunds the entire payment. The tool checks mint eligibility, sale activity, supply, and your per-wallet allocation before submitting the mint transaction. This is essential for NFT collectors who want to mint in public sales without overpaying or losing funds due to failed transactions.

HOW TO USE

Connect your EVM wallet and select the network. Enter the mint contract address that supports public minting with refund logic. Set the quantity of NFTs you want to mint. Click "Check mint status" to verify that the sale is active, that supply is available, and that you have remaining allocation—the tool displays the mint price, total supply, your minted count, and whether auto-refund is enabled. Review the status, then click "Mint with auto-refund" to execute the transaction. The tool pays the exact mint price (price × quantity) and the contract handles any excess refund automatically.

TECHNICAL MECHANISM

The tool first queries the mint contract for public mint parameters using view functions: mintPrice(), maxSupply(), totalSupply(), maxPerWallet(), mintedCount(address), and isActive(). It also checks refundExcess() to confirm that the contract supports automatic refunds. It calculates the total cost as mintPrice × quantity and verifies that the wallet has sufficient native balance. It then calls the publicMint(uint256 quantity) function with the total cost as value. If the contract is configured for auto-refund, it either refunds the excess (if the user overpaid) or the full amount (if the mint fails) by checking the received value against the required payment. The tool uses receipt.effectiveGasPrice for accurate gas reporting and provides progress feedback during the minting process.

WHAT IT CANNOT SEE

This tool cannot mint if the sale is inactive, supply is exhausted, or the wallet has exceeded its max per wallet—eligibility is verified before proceeding. It relies on the mint contract supporting public mint with refund logic; contracts that do not implement refundExcess() or use non-standard refund mechanics are not supported. The tool cannot guarantee that the refund will be processed if the contract fails or if the transaction is reverted. It also does not handle gas estimation or priority fees beyond what the wallet provides.

PLEASE NOTE

Auto-refund requires the mint contract to implement refund logic—not all public mint contracts support this feature. Ensure the contract you are using has refundExcess() or equivalent functionality. The mint price must be paid in native currency (ETH, BNB, etc.). The mint contract must be trusted; verify its security and audit status before use. This tool is for EVM chains only and does not support non-EVM networks.

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.