Independent explainers · No ads · No affiliate links

Money, fintech & crypto, explained from primary sources

RiskCrypto-assets are high-risk and can lose all their value. We explain; we do not advise. Read the risk disclosure.
Security & Privacy · Intermediate

Token approvals and wallet drainers

Many crypto thefts are not hacks at all. The victim signed a permission, often months earlier, and the thief simply used it.

Ethereum logoEthereum

Logos are trademarks of their respective owners, shown for identification only. Their use does not imply endorsement. Licences.

Antique rubber stamps and ink pads in a display case
Photo: “SANDNES BIBLIOTEK Utstilling på Bokloftet Stempler sverte blekk Mini-Graph ink Lånekort Læsebog gamle bøker osv. Vintage” by Wolfmann, CC BY-SA 4.0, via commons.wikimedia.org. Converted to black and white.
On this page
  1. What is a token approval?
  2. Why are unlimited approvals risky?
  3. How do wallet drainers use approvals and signatures?
  4. How do you check and revoke token approvals?
  5. What approval mistakes do beginners make?
  6. Questions readers ask
  7. Sources
The short version
  • An ERC-20 approval lets another address, usually a smart contract, withdraw your tokens later, up to a limit you set.
  • Unlimited approvals stay active after the trade is done and cover tokens you receive in the future.
  • Since the EIP-2612 permit standard, a signed message can create an approval without you sending a transaction.
  • Revoking an approval costs a network fee and stops future spending, but it cannot return tokens already taken.
  • Ethereum.org's advice is to avoid unlimited spend limits and approve only the amount a transaction needs.

A token approval is a permission you sign that lets a smart contract move your tokens on your behalf, up to a set limit. Apps need it to trade tokens for you. Drainers trick you into granting one, then empty the approved tokens. Revoking the approval stops further spending.

What is a token approval?

Fungible tokens on Ethereum and compatible networks commonly follow the ERC-20 standard. It includes a two-step way to let someone else move your tokens. First you call approve, which the standard describes as allowing a spender to withdraw from your account multiple times, up to a set amount. Later the spender calls transferFrom to actually move them. A third function, allowance, shows how much the spender may still take.

This exists for good reasons. A decentralized exchange cannot pull your tokens into a trade unless you have allowed its smart contract to do so. The problem is that the permission is not tied to one trade. It stays on the blockchain until it is used up or you change it.

NFTs have a broader version. The ERC-721 standard's setApprovalForAll lets an "operator" manage all of an owner's NFTs in that collection, not just one.

Why are unlimited approvals risky?

To save users repeat fees, many apps ask for permission to spend an unlimited amount of a token, ethereum.org explains. ERC-20 stores an allowance as a 256-bit number, so the largest possible value is 2256 − 1, a 78-digit figure; an "unlimited" approval is, for practical purposes, permission to take every unit you will ever hold. Ethereum.org warns that with unlimited access a platform can spend all of those tokens, even after you have withdrawn your funds from it back to your wallet.

Ethereum.org's security guide is direct: do not allow unlimited spend limits; set the limit to the amount the transaction needs.

A self-inking stamp beside its box
Photo: “The Podesta Stamp” by public.resource.org, CC0 1.0, via flickr.com. Converted to black and white.

How do wallet drainers use approvals and signatures?

A wallet drainer is a scam built to get a victim to grant spending rights, then move the tokens out. Ethereum.org's scam guidance says scammers often trick users into approving unlimited token spending. The bait is often a fake airdrop or a cloned website that asks you to "connect" and then "approve" or "sign".

Signatures matter because of EIP-2612, the permit standard. It lets a token holder change an allowance with a signed message instead of an on-chain transaction, and the standard says anyone can then submit that signature to the token contract. In other words, a request that looks like a harmless off-chain signature, with no gas fee, can create a real approval once a third party submits it.

What you signGas fee for you?What it can allowHow it is stopped
Normal transferYesMoves the stated amount to the stated address, onceCannot be undone once confirmed
ERC-20 approveYesA spender withdrawing up to the limit, repeatedlyRevoke: set the allowance to 0
Permit signature (EIP-2612)NoAnyone submitting it creates the approvalIts deadline expires; once used, revoke the approval
NFT setApprovalForAllYesAn operator managing every NFT you own in that collectionRevoke: disable the operator

How do you check and revoke token approvals?

Ethereum.org's guide to revoking access lays out the process. Block explorers and dedicated approval checkers can list your current allowances; we do not recommend specific tools.

  1. Open an approval checker you have reached directly, not through a link someone sent you.

  2. Connect your wallet and choose the network. Approvals are per network, so check each one you use.

  3. Review the list. Look for unlimited allowances, apps you no longer use and spenders you do not recognize.

  4. Revoke. This sends a transaction that resets the allowance, and you pay the usual gas fee.

  5. Confirm. Refresh after a few minutes to check the approval is gone.

What approval mistakes do beginners make?

  • Clicking Approve on autopilot. Read the spender and the amount. If the wallet shows "unlimited" and you only need a small swap, edit the amount if your wallet allows it.
  • Treating a signature as harmless. A signed permit can become a real approval. If a site you do not trust asks you to sign, refuse.
  • Leaving old approvals in place. An app you used once two years ago may still be able to spend your tokens.
  • Trying new apps with your savings wallet. Bitcoin.org's general advice is to keep only small amounts on everyday, online wallets; the same logic suggests testing unfamiliar apps from a wallet holding little. See hardware vs software wallets.
  • Engaging with unknown tokens. Ethereum.org warns that scam airdrops lead to sites that ask for signatures. See phishing and address poisoning.

Questions readers ask

Does revoking an approval cost money?

Yes. Revoking is an on-chain transaction, so you pay a network fee, as ethereum.org notes.

Will revoking get my stolen tokens back?

No. It only stops the spender taking more. Tokens already moved are gone; beware anyone offering to recover them for a fee.

Do approvals cover ETH itself?

ERC-20 approvals apply to tokens that follow the standard. Sending ETH is a direct transfer you sign each time, so check the address and amount carefully.

Should I approve exact amounts every time?

It limits what any one app can take, at the cost of an approval transaction for each use. Ethereum.org recommends setting limits to the amount needed.

Bottom line

An approval is a standing permission, not a one-off action. Approve only what a transaction needs, treat signature requests from unfamiliar sites as approvals in disguise, and review your allowances from time to time. Revoking costs a small fee; an open unlimited approval can cost everything that token is worth in your wallet.

Sources

  1. Ethereum Improvement Proposals, ERC-20 Token Standard (EIP-20) (2015)Primary source
  2. Ethereum Improvement Proposals, ERC-2612: Permit Extension for EIP-20 Signed Approvals (2020)Primary source
  3. Ethereum Improvement Proposals, ERC-721 Non-Fungible Token Standard (2018)Primary source
  4. ethereum.org, How to revoke smart contract access to your crypto funds (2026)Primary source
  5. ethereum.org, Ethereum security and scam prevention (2026)Primary source
  6. ethereum.org, Scam help & reporting (2026)Primary source
  7. bitcoin.org, Securing your walletPrimary source

Educational content only — not financial, investment, legal or tax advice. Crypto-assets are high-risk and you could lose all the money you put in. Rules differ by country; check with your national regulator. See our risk disclosure and editorial policy.