Tailflow
Skip to article
Browse documentation

Triggers

Token approval

Watch the approvals a wallet grants or revokes, on any token.

Choose the wallets

Choose Token approval, select chains, and enter one to three wallet addresses. At least one wallet is required. The trigger watches approvals those wallets grant as owner, on any token or collection.

It covers ERC-20 allowances, approvals of a single NFT, approvals of a whole NFT collection, and allowances granted inside Uniswap’s Permit2. The standard field says which one: erc20, erc721, all, or permit2.

Token Approval Trigger Configuration
1Event source
Token approval
2Filters
Edit the conditions to explore the controls. Event samples stay fixed.
Inspect Example triggers to check your selection.
3Trigger
Chains
1 selected · 3 of 7 chains shown
Example. Name the wallet whose approvals you want to see. This example keeps only unlimited approvals. Enter the full address in the app.Changes stay in this example. Nothing is saved or sent.

Unlimited and revoked approvals

Is unlimited is true for an allowance at or near the maximum possible amount, for a maximum Permit2 allowance, and for an approval of a whole collection. These are the grants worth an immediate alert.

Is revoke is true when an allowance is set to zero or an approval is cleared. Add Is revoke is false if you only want new grants.

You can also filter by Token, Token symbol, Spender, Standard, and Amount. A token symbol comes from the contract and can be missing or imitated.

Use the event

Useful fields include owner, spender, token_address, token_symbol, standard, value_decimal, is_unlimited, is_revoke, is_known_token, revoke_url, and explorer_tx_url. is_known_token is false when the token's address is not one we have checked, which is how an approval for a look-alike token stands out. It is also false for every NFT approval and for a real token we have not checked, so combine it with standard and token_symbol to catch a copy of one token. revoke_url opens the wallet’s allowances on revoke.cash for that chain.

value_decimal is the allowance in whole tokens. It is empty for an unlimited approval, for an NFT approval, and when the token does not report its decimals. For a single NFT approval, token_id names the NFT. A Permit2 allowance also carries expiration, the time it lapses.

An approval permits spending; it is not a transfer. A permission given by signature appears only once it is recorded onchain.