Check and revoke approvals: close the standing permissions
An approval (allowance) is a right you grant a smart contract to spend your tokens. It's needed for exchanges and dApps to work normally, but it has an unpleasant property: it stays active until you explicitly revoke it. While the approval stands, whoever you granted it to can spend your tokens at any moment - even six months later. This guide is how to find your active approvals and revoke the ones you don't need. It's defensive hygiene, not an incident.
Why a standing approval is an open door
In ERC-20 you call approve(spender, amount) - and the spender gets the right to
pull up to amount of your tokens. Many interfaces request an unlimited approval by
default (amount = max) so they don't have to ask again. NFTs have an even broader
setApprovalForAll - a permission over the whole collection. The problem is that the
approval outlives the transaction itself: even if you stopped using that dApp long ago, its right to
your tokens remains. This is exactly what an approve drainer
and setApprovalForAll stand on: you grant access once,
and the tokens are taken later in a separate transaction, whenever the attacker wants.
How to find your approvals
- Block explorer. Etherscan and its peers (BscScan, Arbiscan, etc.) have a Token Approvals
page: enter your address and see the list of active approvals - who it was granted to
(
spender), which token, and what amount (often "Unlimited"). - Revoke tools. There are standalone services and wallet-built-in features that list approvals and let you revoke in a couple of clicks - as a class (for example revoke.cash and similar, plus the "permissions/approvals" section in many wallets). Pick one you trust; the function is the same.
- What to look for. Unlimited approvals, approvals to unknown or long-unused contracts,
setApprovalForAllon valuable collections. Check each network separately - approvals live independently on Ethereum, on L2s and on other chains.
How to revoke
- Open the approvals list for your address (in the explorer or a revoke tool) on the right network.
- For ERC-20, revoking is setting the allowance to zero:
approve(spender, 0). For NFTs, it'ssetApprovalForAll(operator, false). Tools do this for you with a "Revoke" button. - Each revoke is a transaction, and you pay gas in the network's native coin. Revoke one by one, starting with the most dangerous (unlimited, valuable assets).
- Confirm in your wallet while reading the fields: you should see exactly an
approvewith amount 0, orsetApprovalForAll=false, to thespenderyou're revoking.
Revoking closes future access but does not return what was already spent. If tokens were already taken under a standing approval, the revoke is too late. That's why you check approvals regularly, not only after a suspicion.
Approval hygiene
- Exact amount instead of unlimited. Where the interface allows it, approve exactly the amount you need, not "Unlimited".
- Periodic audit. Review and clean your approvals list from time to time - like sorting a closet.
- Revoke after one-off dApps. Tried a new site and won't use it again - revoke what you granted it.
- A separate wallet for risk. For new and unvetted dApps, keep a wallet with a small balance, apart from your main one.
Want to practice revoking on a safe testnet, with no real money? In our trainer you grant and revoke approvals on a test network and see how it looks in the wallet.