Jump to content
Cryptons

Crypto protocols, markets and policy

How do you revoke token approvals without missing any?

How to revoke token approvals safely: check each chain, spender and approval type, then zero ERC-20 and Permit2 allowances and disable NFT operators.

Cryptons Newsroom5 min read

How do you revoke token approvals without missing any?

Revoke approvals by checking each chain, spender and approval type, then zeroing ERC-20 and Permit2 allowances and disabling NFT operators. Allowances are recorded per token contract, spender and chain, so one revocation will not clear every approval you have made.

A chain-by-chain check helps you remove stale access without signing a transaction for the wrong spender.

Token approval revocation checklist

Use this checklist to find and revoke each live approval on the chain where it exists.

  • Scan every chain you use, one at a time. Ethereum and Polygon keep independent allowances. Review each chain in a wallet-connected approval checker, such as revoke.cash or Etherscan Token Approval Checker, and keep track of which chains you have finished.
  • Open the checker directly and verify the spender before signing. Avoid reaching a revoke site through an ad or an unsolicited link. Open revoke.cash or the explorer checker yourself, then read the chain, token, spender and requested transaction in your wallet prompt. A revocation is a transaction to a contract; a request to enter your seed phrase or sign an unrelated message is not part of this checklist.
  • Review each ERC-20 token and spender pair. An ERC-20 approval sets how much a spender can use through transferFrom. To revoke it, call approve(spender, 0) on that token contract. The transaction costs gas, and setting the allowance to zero removes that spender’s current allowance for that token on that chain.
  • Check whether an unlimited allowance is still needed. Unlimited approval leaves the spender with a large allowance until you change it or the token is moved; it can be convenient, but it gives that spender broad ongoing access to the approved token. If you no longer use the protocol, revoke it. If you do, consider whether a smaller allowance fits your use, then review it again later.
  • Inspect NFT operator approvals separately. ERC-721 and ERC-1155 operator access can let an operator manage or transfer multiple NFTs for a collection. Revoke an unwanted operator with setApprovalForAll(operator, false) on the relevant NFT contract and chain. This is distinct from clearing an ERC-20 allowance, so an ERC-20-only scan will miss it.
  • Review Permit2’s internal allowances as their own approval type. Permit2 stores token-spender sub-allowances inside the Permit2 contract. They are separate from the token’s ERC-20 allowance, so revoking an unrelated token approval does not clear them. Use Permit2’s approve to set a token-spender allowance to zero, or use lockdown() to zero allowances across the token-spender pairs it covers.
  • Decide whether to remove the token’s allowance to Permit2 as well. Revoking the ERC-20 token’s allowance to the Permit2 contract cuts Permit2’s ability to transfer that token through the ERC-20 allowance. The Permit2 sub-allowance record can remain inside Permit2, though, so zero it with Permit2’s approve or lockdown() if you want that internal allowance cleared too. Check both layers when cleaning up.
  • Include bridge-related spenders when scanning Ethereum. Say you used a Polygon bridge to move supported assets between Ethereum and Polygon PoS: the bridge is the service handling that transfer. A leftover allowance on Ethereum to ERC20PredicateProxy can be safely revoked; the next deposit simply asks you to approve again. For more on how assets move between Ethereum and Polygon PoS, see Polygon bridge.
  • Compare the approval record before and after each confirmed transaction. Before signing, note the chain, token, spender and allowance or operator status. After it confirms, refresh the same checker on the same chain and confirm the allowance is zero or the operator is disabled. The spender and token stay the same; the permission changes. If the checker still shows access, inspect the transaction result and the exact contract pair before considering the task done.
  • If assets are actively being drained, move the remaining assets first. A revocation blocks future transferFrom calls once it takes effect; it does not undo transfers that already happened or stop a transaction already in progress. Move remaining assets to a secure wallet, then revoke the approvals from the exposed wallet.

What changes after revocation?

A successful revocation changes the permission you checked, while leaving the token, spender, chain and any other approval pairs unchanged. For instance, zeroing one ERC-20 allowance does not clear a different spender’s allowance, an NFT operator approval, a Permit2 sub-allowance or an approval on another chain.

That is why the post-transaction check should repeat the same chain and contract details you recorded beforehand. Treat each token-spender pair and each NFT operator as a separate item. A refreshed zero balance or disabled operator confirms the specific change; it does not certify every other approval in your wallet.

Related

Is unlimited token approval safe?

Unlimited approval is convenient, but it leaves the spender with a broad allowance for that token until you revoke it. Keep it only when the access still serves a purpose you accept, and include it in later reviews.

How much gas does revoking an approval cost?

Revoking an ERC-20 allowance costs gas because approve(spender, 0) is an on-chain transaction. The amount varies with the chain and transaction conditions, so check the wallet’s fee estimate before signing each revocation.