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

One-Click Approval Revoke Tool

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 One-Click Approval Revoke Tool scans your current block explorer page (Etherscan, BscScan, PolygonScan, etc.) for all active token approvals associated with your connected wallet. It displays each approval in a clean list showing the token symbol, spender address, and allowance amount—clearly highlighting unlimited approvals in red. For any approval, you can revoke it with a single click, which submits an on-chain transaction setting the allowance to zero. This instantly removes the spender's permission to access your tokens, closing a common security vector. Unlike manual revoking, which requires finding the token contract, copying the spender address, and crafting a transaction, this tool turns the entire process into a one-click operation directly from the explorer page you're already viewing.

WHERE IT RUNS

It runs as a draggable overlay panel inside the BotGentz extension on EVM block explorers—Etherscan (Ethereum), BscScan (BNB Chain), PolygonScan (Polygon), Arbiscan (Arbitrum), and Optimistic Etherscan (Optimism). It works specifically on token approval pages where allowance entries are displayed in tables or lists, 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 token approval page on a supported block explorer (e.g., Etherscan's "Token Approvals" page).

3. Click the BotGentz icon and select "One-Click Approval Revoke Tool" from the tools menu.

4. The panel opens and automatically scans the page for approvals after connecting to your wallet.

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

6. Click the "Revoke Approval" button next to any approval you wish to revoke.

7. Confirm the transaction in your wallet extension. Once confirmed, the approval is revoked and the list updates.

8. Use the "Revoke All" button to revoke every approval on the page (each requires its own transaction).

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

THE ACTUAL MECHANISM — DOM‑driven approval extraction with direct ABI‑encoded revoke transactions

The tool works through a focused three‑step pipeline. First, it performs DOM scanning tailored to block explorer approval tables, looking for rows that contain token addresses, spender addresses, and allowance amounts. It uses flexible selectors that adapt to each explorer's HTML structure, and deduplicates entries by token+spender pairs. Second, it enriches each approval by detecting unlimited status (checking for values above 10⁹ or strings like "Unlimited" or "∞") and optionally fetching token decimals on‑chain to display human‑readable amounts. Third—and most critically—it builds and submits the revoke transaction. Rather than relying on the explorer's own buttons or requiring manual data entry, the tool uses the ethers.js library (loaded at runtime) to encode the `approve(address spender, uint256 amount)` function call directly, with amount set to `0`. This transaction is then sent via `window.ethereum.request({ method: "eth_sendTransaction" })`, and the user signs it in their wallet. The tool also supports a "Revoke All" mode that queues transactions sequentially, with a built‑in delay between each to avoid nonce collisions, all while providing clear progress feedback.

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 "⚙️ Approval 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 only on the block explorer pages listed in the target sites.

- Revoking an approval requires an on‑chain transaction and will incur gas fees on the respective network. Always review the transaction details in your wallet before signing.

- This tool cannot detect approvals that are not visible on the page (e.g., approvals made through proxy contracts where the allowance is stored elsewhere). It cannot revoke approvals that are managed by a multisig or require multiple signatures. It cannot automatically revoke without explicit user confirmation for each transaction.

- No private keys, seed phrases, or sensitive data are ever read, stored, or transmitted. All transactions are signed and sent directly from your wallet extension to the network. Only anonymized usage metrics (panel open/close, revoke events) 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.