Token approval (ERC-20 approve)
A transaction that lets another address, the spender, move up to a set amount of one token out of your account, until you change it.
Request: approve(spender, amount)
What to read in the prompt
- The token: each token contract keeps its own allowances.
- The spender: the address that receives the right to move your tokens. It is often a contract, not the app’s name.
- The amount: a number, or the maximum possible value, which wallets and apps often call unlimited.
- The network the request is on.
What it lets the other party do
- The spender can call
transferFromto move your tokens of that token contract. ERC-20 describesapproveas allowing the spender “to withdraw from your account multiple times, up to the_valueamount.” - A new
approvefor the same spender replaces the old amount. ERC-20: “If this function is called again it overwrites the current allowance with_value.”
What it does not do
- It does not move tokens by itself. Moving them is a separate
transferFromcall made by the spender. - It does not cover other tokens.
- Disconnecting the app in your wallet does not remove it. ethereum.org: if you disconnect but have granted token allowance permissions, “they can still use those tokens.”
How long it lasts
- ERC-20 defines no expiry. The allowance stays until it is used up or you replace it. ethereum.org: “There are no expiration dates on contract permissions.” (That sentence is about ERC-20 style approvals; Permit2 and some newer systems do have expirations.)
How to undo it
- Send a new
approvefor the same spender with an amount of 0. That changes future spending only. It does not return tokens that already moved. - To see the approvals your real account has, use an established external checker such as Revoke.cash or Etherscan’s token approval checker. This site never looks at your account.
A pattern to recognise
- A button labelled “verify”, “claim” or “enable” whose wallet prompt is actually an approval for a spender you do not recognise, often for the maximum amount. Read the prompt, not the button.
Practice question
Fictional Lanternfly Swap asks for an approval before your first swap.
- Request type
- Transaction: approve
- Token
- MOSS (fictional)
- Spender
- Lanternfly Router (fictional contract)
- Amount
- 100 MOSS
- You then swap
- 40 MOSS
After the 40-token swap, can the router still move more of your MOSS without a new approval?
Show the answer
Answer: Yes. An allowance is a ceiling for repeated transferFrom calls, not a single-use pass. If the swap used 40 of it, up to 60 MOSS stays available to the router until you set the allowance to 0.
Check your real account elsewhere
This site never connects to a wallet and never asks for an address. To see or remove approvals on a real account, use an established tool:
- Revoke.cash: shows and removes token approvals across many networks
- Etherscan token approval checker: shows and removes token approvals on Ethereum mainnet
Independent tools, not affiliated with this site. Linking is not an endorsement or a safety assessment.
Sources
- ERC-20: Token Standard. Ethereum ERCs. Final; created 2015-11-19. Checked 2026-11-04.
- How to revoke smart contract access to your crypto funds. ethereum.org. Page as published on the check date. Checked 2026-11-04.
- How to disconnect your wallet from a dapp. MetaMask Support. Page as published on the check date. Checked 2026-11-04.
Quotes are from these sources. Found an error? Corrections are logged publicly on the changelog.