What can drain this wallet? Approval and allowance check on Base, incl. Permit2 and unlimited approvals
token_allowance_checkWhat can drain this wallet? Approval check for one wallet and one ERC-20 token on Base: how much each spender (up to 10 app or router addresses) is allowed to move, flagging unlimited approvals and approvals covering the full balance, plus approvals made through Uniswap Permit2 with their expiry. Defaults to checking Permit2 itself. Useful before signing and for spotting approvals to revoke. Read-only. Not charged for invalid addresses or non-tokens. Paid via x402; see list_prices.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"owner": "<owner>",
"token": "<token>"
},
"name": "token_allowance_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | Wallet 0x address on Base. | |
| token | Yes | Token contract 0x address on Base. | |
| spenders | No | Optional: up to 10 spender addresses (array or comma-separated). Defaults to Uniswap Permit2. |