Revoke an ERC-20 Approval
Revoking an allowance changes the token contract’s permission state. It is its own on-chain transaction, so it requires wallet approval and network gas.
Key idea
Identify the spender first. Revoking the wrong allowance can break an app you still use without reducing the permission you meant to remove.
In this guide
Related workflow
Token Approvals →Find the live allowance
Review current permissions rather than only recent transactions. An approval created months ago can still be active today.
Confirm the spender
Match the spender address to the protocol or contract you intend to revoke. Names and logos are not enough for a security-sensitive action.
Approve the revoke transaction
A revoke changes on-chain state and therefore costs gas. Review the network, token and spender again in your wallet before signing.
Concept map · schematic
How a token allowance is used
Authorization and spending happen in separate transactions.
- 01
Owner
Controls the ERC-20 tokens and grants permission
- 02
Allowance
Token contract records a spender and maximum value
- 03
Spender
May transfer tokens within the remaining allowance
Important: An approval is not a swap. A permission can remain after the associated trade.
Live, read-only fieldwork
Read a live token allowance
Ask the token contract how much one spender can transfer from one public account.
Source: existing Hexncoin EVM RPC relay using read-only eth_call. The reading does not detect ERC-721 approvals, permits, or other spender/token pairs. A contract may not implement the standard ERC-20 interface correctly.
These examples read public network or indexer data only. You cannot execute trades, approve permissions, or submit transactions here.
Primary references
Documentation and standards
References added
Official technical references for further verification. A source link is not a guarantee that every earlier editorial sentence has been reverified; provider specifications may also change over time.
Originally published 2026-09-13 · Guide text last updated 2026-09-19 · Reference links and live examples updated 2026-10-24
- ERC-20 token and allowance specificationEthereum Improvement ProposalsRead source ↗
Learn the fundamentals
Continue in the curriculum
A structured lesson covering the concepts behind this guide.
Put it in context
Tools connected to this topic
Use the concepts above to understand what these tools show or ask you to approve.
Keep going
Related guides
The closest concepts to read next.
Wallets & safety · 5 min
ERC-20 Approvals, Explained
Check the spender and allowance amount, not just the app name shown beside them.
Read next →Wallets & safety · 4 min
Unlimited vs. Exact Token Approvals
Approval size is part of transaction risk. Match the permission to how much access the action actually needs.
Read next →Wallets & safety · 5 min
Analyze a Solana Wallet
Use the public address only. Read balances and activity together, and treat labels as context rather than proof.
Read next →