Revoke Approvals

When you trade ERC-20 tokens on decentralized exchanges, you need to grant permission (called an "approval") for the exchange's smart contract to spend your tokens. While this is necessary for trading, these approvals remain active even after your trades are complete.

For security reasons, it's good practice to periodically review and revoke unnecessary token approvals. This prevents old approvals from being exploited if a smart contract is compromised or if you no longer trust a particular protocol.

Why Revoke Approvals?

Security Benefits:

  • Reduces your attack surface by limiting which contracts can access your tokens

  • Protects against potential smart contract vulnerabilities

  • Gives you better control over your wallet's security posture

When to Revoke:

  • After you're done trading a particular token pair

  • When you no longer plan to use a specific DEX or protocol

  • If you've given unlimited approvals and want to switch to exact amounts

  • As part of regular wallet hygiene and security maintenance

Using the Revoke Tool

We offer an approval revoke tool built into our dapp which lets you quickly and easily manage the security of your wallet and its tokens.

How to Use:

  1. Connect your wallet to the LiquidSwap interface

  2. Navigate to the revoke approvals section

  3. Review the list of active approvals for your wallet

  4. Select the approvals you want to revoke

  5. Confirm the revoke transactions in your wallet

What You'll See:

  • Token name and contract address

  • Approved amount (may show "Unlimited" for maximum approvals)

  • The protocol or contract that has approval

  • Current allowance remaining

Each revoke action requires a separate transaction and will cost a small amount of gas. However, this is a worthwhile investment in your wallet's security.

Gas Tip: You can revoke multiple approvals in a single session, but each revoke requires its own transaction. Consider batching your revokes to save time.

Last updated