Jump to content
Tareom

News from across crypto

How to revoke token approvals on Ethereum and confirm zero allowance

Learn how to revoke an ERC-20 token approval on Ethereum by setting the spender’s allowance to zero and confirming the change onchain.

The Tareom Editors4 min read

How to revoke token approvals on Ethereum and confirm zero allowance

To revoke an ERC-20 token approval on Ethereum, open Revoke.cash on Ethereum, find the permission by its token and spender, request an approval of zero, then verify the confirmed allowance is zero. Ethereum stores these permissions onchain, so disconnecting your wallet from a site leaves its allowances unchanged.

What to have ready before revoking an approval

To revoke one Ethereum allowance, you need the owner wallet, ETH for gas, and the exact spender address. The owner is the wallet that granted permission; the spender is the contract allowed to use a particular token. You need ETH because changing an onchain allowance requires a transaction.

Keep the token, owner and spender together as one record. A token can have separate allowances for different spenders, and contracts can have names that look alike. Revoking a similarly named contract’s permission leaves the intended permission untouched. Match the spender address shown for the allowance, rather than relying on a familiar service name alone.

Make sure Revoke.cash is set to Ethereum mainnet before selecting a permission. The network matters: this task covers an allowance on Ethereum mainnet, and a permission on another network is a separate onchain record.

Revoke an ERC-20 allowance on Ethereum

Revoke.cash lets you find a token allowance and submit a zero-value approval for its spender. These steps take you from the listed permission to a transaction you can verify onchain.

  1. Locate the permission. Connect the owner wallet to Revoke.cash on Ethereum, then find the ERC-20 token and spender entry you want to remove. Confirm the wallet, token contract and spender address before you continue. The matching row identifies the specific permission you intend to change.

  2. Request a zero allowance. Select that entry and choose the revocation action. Review the transaction: it should set the selected spender’s allowance for that token to zero. ERC-20 approve(spender, 0) makes that spender’s allowance zero; it does not change permissions for other spenders or tokens.

  3. Sign and wait for confirmation. Approve the transaction in the owner wallet and keep ETH available for gas. A wallet signature sends the change, but the permission is ready to verify only after the transaction is confirmed on Ethereum. You should then see the allowance listed as zero or revoked.

  4. Verify the allowance. Read the confirmed allowance for the same token, owner and spender, using Revoke.cash’s updated entry or allowance(owner, spender). The task is complete when the onchain value equals zero. If the transaction fails or remains unconfirmed, the previous allowance may still be in place.

An unwanted permission can come from a swap you made earlier. Fermi Swap’s prop AMM fills trades from its own token inventory, so an ERC-20 allowance for its spender is a separate onchain permission from any other approval you granted. You can open Fermi Swap to identify the service you interacted with, then return to Revoke.cash and revoke only the allowance whose spender address matches.

For USDT, replacing an existing allowance with a different nonzero amount can require setting the allowance to zero first. If you are changing how much a spender may use rather than removing its permission, check the current allowance and follow the wallet or tool’s transaction prompts. To remove that spender’s permission, the target value is zero.

What happens when you revoke token approvals?

Does revoking approvals recover stolen tokens?

Revoking an approval restricts that spender’s future use of the token. It does not recover assets that have already been transferred; recovering transferred assets requires a separate action.

How do you revoke NFT operator approvals?

NFT operator permissions are collection-wide rather than ERC-20 token allowances. To revoke an operator’s permission for a collection, submit setApprovalForAll(operator, false) for that collection and confirm the transaction.