Skip to content
Hexncoin
Wallets & safetyStart here·5 min read

ERC-20 Approvals, Explained

An ERC-20 approval is permission for a contract to transfer tokens up to a stated amount. It is separate from the swap itself and may remain active afterward.

Key idea

Check the spender and allowance amount, not just the app name shown beside them.

01

Read the spender

The important address is the contract receiving permission. Confirm that address from a source you trust before granting access to a valuable token.

02

Read the amount

An exact allowance limits exposure to a specific amount. An unlimited allowance is convenient for repeated use, but it remains a much larger permission until it is changed or revoked.

03

Review old permissions

Allowances can outlive the trade that created them. Periodically review active approvals and revoke permissions for contracts you no longer use or trust.

Put it in context

Tools connected to this topic

Use the concepts above to understand what these tools show or ask you to approve.

Keep going

Related guides

The closest concepts to read next.

Learn

Back to the learning library