Slippage-Protected Batch Swapper
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
The Slippage-Protected Batch Swapper enables users to execute multiple token swaps in a single batch transaction with individual slippage protection for each swap. Batch swapping is essential for users who need to swap multiple tokens efficiently, saving gas costs compared to executing each swap separately. This tool provides a streamlined interface to configure batch swaps with configurable amounts, target tokens, minimum outputs, and per-swap slippage protection.
The tool reads token balances, current prices, DEX protocol states, liquidity pool states, batch swap parameters, route configurations, and approval status. It supports executing batch swaps where a single source token is swapped into multiple target tokens, with each swap having its own amount and minimum output requirement. The tool handles the necessary approvals and executes all swaps through the DEX router.
HOW TO USE
1. Connect your wallet using the Connect button. The tool automatically detects your connected address and network.
2. Select the network where your tokens are located. The tool checks the BotGentz sender contract registry for the current chain.
3. Enter the source token address, the target token addresses (comma-separated), and the amounts for each swap (comma-separated, matching order).
4. Enter the minimum outputs for each swap (comma-separated, matching order) to protect against slippage.
5. Enter the DEX router address and configure your slippage tolerance percentage.
6. Click "Preview batch" to verify the batch swap parameters.
7. Review the batch details in the preview panel including source token, target tokens, amounts, and minimum outputs.
8. Click "Execute Protected Batch" to submit the batch swap transaction through your wallet.
9. The tool will handle token approvals (if required) and execute all swaps in a batch.
TECHNICAL MECHANISM
The tool uses the BotGentz shared sender contract to execute batch swaps with slippage protection. First, it validates that the number of targets, amounts, and minimum outputs match. It then calculates the total source token amount needed and verifies the user's balance. The tool approves the sender contract for the exact total amount. During execution, the tool calls the batch swap function on the sender contract, which iterates through each swap sequentially. For each swap, it uses the DEX router to swap the specified amount of source token for the target token, applying the individual minimum output as a slippage guard. If any swap fails to meet its minimum output, the entire batch reverts, preventing partial execution. The tool records the batch swap in history with the transaction hash and results.
WHAT IT CANNOT SEE
This tool cannot verify that the price feed is accurate or reliable; it relies on the DEXs' on-chain pricing. It cannot detect if the oracle has been compromised or manipulated. It cannot ensure that batch swaps with slippage protection will execute at the optimal price due to slippage, market volatility, and block timing. It cannot guarantee that all swaps in the batch will complete successfully if one swap fails due to slippage. It cannot verify that the DEX contracts have not been upgraded or modified. It cannot detect if the swap paths are optimal or if the transaction is being front-run by malicious actors. It cannot recover funds if execution fails due to contract bugs, insufficient approvals, out-of-gas errors, or blockchain reorgs. It cannot verify that target tokens are legitimate or not. It cannot predict market movements, price gaps, or flash crashes that may affect swap execution. It cannot guarantee execution during extreme network congestion, high gas prices, or volatile market conditions. It cannot detect if underlying DEX protocols have been compromised. It cannot prevent the user from canceling or modifying batch parameters through other interfaces. It cannot ensure that slippage protection levels are appropriate or that gas costs do not exceed the savings from batching. It cannot guarantee that slippage protection will prevent all adverse price movements.
PLEASE NOTE
This tool is designed for EVM-compatible blockchains supported by the BotGentz sender contract (Ethereum, Polygon, Arbitrum, Optimism, Base, BSC, Avalanche, Fantom, and others). It requires an active wallet connection and sufficient native currency for gas fees. Always verify the source token, target tokens, amounts, and minimum outputs before executing. The minimum outputs should be set based on expected prices minus your slippage tolerance. The tool is provided as-is with no warranty; users assume full responsibility for their transactions and should exercise caution when executing batch swaps. For mainnet usage, ensure the DEX router has been audited and you understand the risks of batch swaps including slippage, gas costs, and smart contract risks.