DeFi Education5 min read
Token Approvals: What They Are and Why You Should Manage Them
Every DeFi interaction starts with an approval. Learn how they work, the risks of unlimited approvals, and how to revoke them.
What Is a Token Approval?
Before a smart contract can spend your tokens, you must approve it. This is an on-chain transaction that grants permission for a specific contract to move a specific amount of your tokens.
Unlimited vs Limited Approvals
- Unlimited approval: Contract can spend any amount of your tokens forever
- Limited approval: Contract can only spend the exact amount needed
The Risk
If an approved contract is exploited (hacked, has a bug, or turns malicious), the attacker can drain all tokens you have approved. This has happened in multiple DeFi exploits.
Best Practices
How to Revoke Approvals
Alkizen and Approvals
Alkizen uses standard token approvals for swap execution. When possible, Relay leverages Permit2 for streamlined approval flows, reducing the number of transactions you need to sign.