check_approvals
Audit a wallet's active ERC-20 token approvals to identify drain risk and prioritize which approvals to revoke with ready-to-sign calldata.
Instructions
Audit a wallet's ACTIVE ERC-20 token approvals (allowances) for drain risk — the #1 way DeFi wallets get emptied. Pulls every Approval event the wallet ever emitted, reads the LIVE allowance for each (token, spender) pair, classifies the spender (EOA / unknown contract / upgradeable proxy / known router) and returns a prioritized CLEAN / REVIEW / AT_RISK verdict listing exactly which approvals to revoke first — with the approve(spender,0) revoke calldata ready to sign. Read-only; never moves funds, never holds a key. Use this before/after a wallet interacts with unfamiliar dApps, when a user fears a drainer, or to harden any wallet. Chains: ethereum, base, bsc, polygon, arbitrum.
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": {
"chain": "<chain>",
"wallet": "<wallet>"
},
"name": "check_approvals"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | Chain: ethereum, base, bsc, polygon or arbitrum. | |
| wallet | Yes | The wallet address to audit (0x...). | |
| deep | No | If true, scan full on-chain history (slower) instead of just the recent window. |