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

Approval Batch Revoker

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 Approval Batch Revoker scans block explorer pages (Etherscan, BscScan, PolygonScan, Arbiscan, Optimistic Etherscan) for all active token approvals associated with your connected wallet—including ERC‑20, ERC‑721, and ERC‑1155 approvals. It displays each approval in a clean, interactive list showing the token symbol, spender address, allowance amount, and timestamp where available, with unlimited approvals highlighted in red. You can select individual approvals, select all, or select all unlimited approvals with one click. Once selected, the tool processes them in a batch revocation session—submitting each revocation transaction one at a time with per‑transaction confirmation in your wallet. This turns what would be a tedious, error‑prone manual process into a streamlined, guided workflow.

WHERE IT RUNS

It runs as a draggable overlay panel inside the BotGentz extension on EVM block explorers—Etherscan, BscScan, PolygonScan, Arbiscan, and Optimistic Etherscan—specifically on pages where token approvals are displayed, such as the "Token Approvals" section of each explorer.

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 a block explorer page that displays token approvals.

3. Click the BotGentz icon and select "Approval Batch Revoker" from the tools menu.

4. The panel opens. Click "Scan Approvals" to connect your wallet and scan the page.

5. Review the list of approvals—unlimited ones are highlighted in red.

6. Select the approvals you wish to revoke using the checkboxes, or click "Select Unlimited" to select all unlimited approvals.

7. Click "Revoke Selected" to begin the batch revocation process.

8. Confirm each transaction in your wallet when prompted. The tool processes them one by one with progress feedback.

9. Track your progress in the panel as each approval is revoked.

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

THE ACTUAL MECHANISM — DOM‑driven approval extraction with sequenced transaction queuing

This tool combines flexible DOM scanning with a transaction queuing engine for efficient batch revocation. First, it scans the page for approval entries using a multi‑strategy selector approach that adapts to the HTML structure of different block explorers—looking for table rows or list items containing multiple Ethereum addresses (token and spender), allowance amounts, token symbols, and optional timestamps. Each entry is deduplicated by token+spender pair and enriched with metadata. Second, it renders the list with interactive checkboxes that support multi‑selection and provides a "Select Unlimited" shortcut for quickly identifying high‑risk approvals. Third—and most critically—when the user initiates revocation, the tool enters a sequenced transaction mode: it loads the ethers.js library (at runtime), builds an `approve(address spender, uint256 amount)` transaction with amount set to `0` for each selected approval, and submits them sequentially via `window.ethereum.request({ method: "eth_sendTransaction" })`. Between each transaction, the tool inserts a configurable delay to avoid nonce collisions and network congestion, and provides real‑time progress feedback showing which approval is being revoked and how many remain. This batched approach transforms a tedious manual process into a guided, efficient workflow while maintaining full user control over each individual transaction.

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 approvals list. A collapse button minimizes the panel to a small floating chip showing "⚙️ Batch Revoker" — 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 (Ethereum, BSC, Polygon, Arbitrum, Optimism) and primarily on block explorer pages where approvals are displayed.

- The tool cannot detect approvals not visible on the current page (e.g., approvals in other contracts not displayed by the explorer). It cannot batch revoke with a single transaction across multiple tokens—each approval requires its own transaction. It cannot automatically revoke without user confirmation. It cannot detect approvals made through proxy contracts where the allowance is stored at a different address.

- No private keys, seed phrases, or sensitive data are ever read, stored, or transmitted. All transactions are signed and sent directly from your wallet. Approval data is stored locally in your browser's extension storage. Only anonymized usage metrics (panel open/close, scan events, revocation counts) 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.