UNSWEEP › Guides

How to find and revoke ERC-20 token approvals

This guide is informational. Revoking an approval stops future spending; it does not bring back tokens already taken. We never ask for any key in chat, email or DM and we never write first. The only key a rescue uses is the one of the already-compromised wallet, typed by you on unsweep.com and used only inside your browser.

What an approval is

ERC-20 tokens let an owner authorize another address (the spender, usually a contract) to move up to a set amount of their tokens with transferFrom. The owner grants it with approve(spender, amount). The authorization, called an allowance, stays in force until it is used up or changed. Many apps ask for an "unlimited" amount (2256-1), so one approval can expose the whole balance of that token, now and in the future.

NFT collections (ERC-721 and ERC-1155) have a similar mechanism, setApprovalForAll(operator, true), which gives an operator control over every item of that collection.

Why it matters

How to find open approvals (read-only)

  1. List Approval(owner, spender, value) events where owner is your address, or list your past transactions that call approve (function selector 0x095ea7b3).
  2. For each token and spender pair, call allowance(owner, spender) on the token contract. If the result is greater than 0, the approval is still open.
  3. Check who the spender is in a block explorer: verified source, known app, deployment date.

Example of the read-only call (allowance selector is 0xdd62ed3e):

curl -s -X POST <RPC_URL> -H 'content-type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"eth_call","params":[{"to":"0xTOKEN","data":"0xdd62ed3e<owner padded to 32 bytes><spender padded to 32 bytes>"},"latest"]}'

The free read-only check on this site lists ERC-20 approvals granted by direct transactions in the last 90 days that are still open, on Base and Ethereum mainnet.

Limit: approvals can also be granted by off-chain signatures (permit-style messages) that someone else submits on-chain. Those do not appear in your own transaction history, so also review Approval events for your address if you suspect a malicious signature.

How to revoke

If the wallet is already compromised

Good habits

Last updated: 2026-11-26. Rescue is live on Base, Arbitrum and OP Mainnet. Ethereum: read-only check. See how to read the diagnostic and security & verification.

Before you start: trust facts

Sounds familiar? “My funds disappear as soon as they arrive” · “I can’t pay for gas because the ETH is taken instantly” · “My wallet was hacked and I can’t get my tokens out”.