get_token_allowances
Identify all active approvals for a token from your wallet on an EVM chain, showing each spender's live allowance and highlighting unlimited approvals for security audits and revocations.
Instructions
Enumerate every spender that currently holds a non-zero allowance over the wallet's balance of a specific ERC-20 token on a single EVM chain. Pulls Approval events from Etherscan's logs API filtered to the wallet as owner, dedups by spender (keeping the latest event per spender for provenance), then re-reads the LIVE allowance(owner, spender) for each via Multicall3 and drops anyone whose live value is 0 (revoked or fully consumed). Returns rows sorted by allowance descending, each carrying spender, optional spenderLabel (Aave V3 Pool / Uniswap V3 SwapRouter02 / Lido stETH / etc. resolved against the canonical CONTRACTS table), currentAllowance (raw bigint string), currentAllowanceFormatted (decimal-adjusted, or the literal string "unlimited"), isUnlimited (≥MAX_UINT256 − 0.01% — covers wallets that cap below MAX), and the lastApprovedBlock / lastApprovedTxHash / lastApprovedAt provenance. Top-level unlimitedCount and notes[] flag exposure ("the spender(s) can move your entire balance, including future top-ups; revoke via approve(spender, 0)"). Use this for security audits ("do I have any unrevoked unlimited approvals?"), pre-tx checks ("do I already have allowance for X?"), and revoke-cleanup workflows. v1 EVM-only (Ethereum / Arbitrum / Polygon / Base / Optimism). TRON deferred (different indexer surface); Solana intentionally out of scope (SPL delegation is per-account, not per-mint-per-owner — different question shape). Read-only; no signing, no broadcast.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wallet | Yes | EVM wallet address whose approvals you want to enumerate. The tool scans Approval events emitted by `token` where this wallet is the indexed `owner`, then re-reads the LIVE allowance for each spender. | |
| token | Yes | ERC-20 contract address. Must be the actual token contract, not a wrapper or aToken. Native coins (ETH / MATIC) have no allowance concept and are intentionally not supported here. | |
| chain | No | Which EVM chain to scan. Defaults to Ethereum. The same wallet may have different approvals on different chains — you'll need one call per chain to enumerate all of them. | ethereum |