Guide · Security
How to revoke token approvals
Written by XAUConnect Labs · Reviewed against live product behavior · Updated August 2026
Every time you let a router move an ERC-20 token, you grant an allowance that stays active until you change it. Over months of trading, these standing permissions accumulate, and any contract you ever approved with an unlimited allowance remains able to move that token — including if it is later upgraded maliciously or compromised. Revoking approvals you no longer need is the cheapest, highest-leverage security habit in DeFi. This guide explains how allowances work, how to audit them, and how to revoke the ones that are dead weight.
What an approval actually grants
Exact vs unlimited allowances
Audit your existing approvals
Revoke what you do not need
Build it into your routine
Legal
Risk disclosure
XAUConnect is a non-custodial swap aggregator. Digital assets are volatile and may lose value rapidly. Content on this page is educational and not investment advice. Verify every contract address on the official block explorer before approving a transaction.
Frequently asked questions
Why are unlimited approvals risky?
They are a standing permission: the approved contract can move that token at any time up to the limit. If the contract is later exploited or upgraded maliciously, your approval is the path it uses.
Should I always approve the exact amount?
For most trades, yes — it removes the standing risk between trades at the cost of an extra approval next time. For constantly-used routers you might accept unlimited, but review those periodically.
How do I see my active approvals?
Use a reputable allowance-checker or your wallet's permissions view, per chain, to list each token, spender, and allowance amount.
Does revoking cost money?
Yes, revoking is an on-chain transaction that costs gas. Prioritize unlimited approvals on valuable tokens and approvals to contracts you no longer trust.
Trade on XAUConnect
Open the swap page to compare live routes, set slippage, and sign from your own wallet — fully non-custodial.
Continue exploring
Related markets, guides & networks
Curated next steps based on this topic — deepen your research before you trade.
How do cross-chain bridges work?
Bridges move value between networks using lock-and-mint, burn-and-release, or liquidity networks. The trade-offs, the ri
Why locked liquidity matters
Liquidity locks and how they reduce (but don't eliminate) rug risk. How to verify a lock, read the unlock date, and weig
Native USDC vs bridged USDC
Circle native USDC versus bridged USDC.e across seven chains — why tickers lie, how quotes pick a contract, and how not
Build programmatically
Swap via API for bots and AI agents — quotes, builds, and cross-chain routes.