Skip to content
CryptoSober

Glossary · Wallets & Security

Token approval

A token approval is permission you give a smart contract to move a set amount of a token out of your wallet on your behalf.

By Abu HosainPublished 1 min read

In simple terms

A token approval is a standing permission. You tell a token's contract: "this other contract may take up to this many of my tokens." It is also called an allowance.

How it works

Apps cannot move your tokens by default. Before your first swap or deposit, the app asks you to sign an approval naming a spender and a limit. Afterwards, that spender can transfer tokens from your wallet up to the limit without asking again.

Many apps request an unlimited amount for convenience. The approval stays in force until you change it, even after you close the site or disconnect your wallet.

Example

Tess approves a DEX to spend her stablecoin so she can make a swap. The wallet prompt offers "unlimited." She edits it to the exact amount she is swapping.

Why it matters for safety

Ethereum.org warns that "an unlimited spend could enable the smart contract to drain your wallet." If the approved contract is malicious, or is later hacked, the approval can be used to take your tokens at any time.

This is how most wallet-draining scams work. A fake airdrop or minting site does not need your seed phrase. It only needs you to sign one approval. Read every prompt, approve only what you need, and revoke old approvals. A hardware wallet does not protect you from an approval you choose to sign.

Sources

  1. 01Ethereum.org, How to revoke smart contract access to your crypto funds
  2. 02Ethereum.org, Ethereum security and scam prevention

This page is educational. It is not financial, investment, legal, or tax advice. See our editorial policy and how to report an error.