Approve a specific spender
Inspect a token allowance before granting permission that can outlive one transaction.
✨ Aprenda com IA
Start with: approvals, verify contract.
Before you start
Know the intended application contract, token and network. This procedure describes common ERC-20 allowances; NFT operators and Solana delegates use different interfaces and rules.
| Field | What to identify |
|---|---|
| Owner | Your account granting the permission |
| Token | Exact contract on the selected network |
| Spender | Contract allowed to move the token |
| Amount | Maximum allowance or unlimited authority |
| Expiry | When the authorization ends, if supported |
Steps
- Identify why the application needs an allowance. A basic wallet connection or public balance lookup should not require spending permission.
- Compare the requested spender with official contract information for this deployment. The spender may differ from the website address or pool address.
- Choose an amount appropriate to the action where the token and interface support it. Read unlimited approvals as continuing exposure, not a harmless default.
- Inspect the wallet request. For a signed permit, also inspect domain, chain, spender, amount and expiry where shown. Reject unreadable or unexplained data.
- Confirm the permission through a trusted allowance view after inclusion. For a permit, understand that signing alone may leave an authorization that someone can submit later.
Verify the result
You can state which owner, token and spender are involved, the allowed amount and whether the authority persists after the next action. If an approval transaction was needed, check its success separately from the swap or deposit.
If something differs
Disconnecting a website does not revoke this permission. Some tokens require setting an allowance to zero before changing it; follow verified token documentation. Never assume one revoke action invalidates every outstanding signature mechanism.
tip — After the intended action, use Revoke an unnecessary token approval if the permission no longer serves a purpose.