check_token_approvals
Check a wallet's active ERC-20 and NFT approvals on Base, verifying current on-chain state and flagging unlimited allowances as high-risk.
Instructions
Check a wallet's active ERC-20 and NFT token approvals on Base.
Scans historical Approval/ApprovalForAll events, then verifies the CURRENT on-chain state of each unique pair found (an old event doesn't mean the approval is still active — it may have been reduced or revoked since). Flags unlimited approvals as high-risk. This tool is READ-ONLY and cannot revoke anything.
Args: address: The 0x-prefixed wallet address to check.
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": {
"address": "<address>"
},
"name": "check_token_approvals"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |