chain_allowance
ERC20 allowance / approval check — How much a spender may move from an owner's ERC20 balance (token=, owner=, spender=), flags unlimited approvals with a risk level - for wallet-drainer and approval audits. Chains: base (default), ethereum, arbitrum, optimism, polygon via chain=. Price: $0.002 USDC (Base, via x402).
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>",
"token": "<token>",
"owner": "<owner>",
"spender": "<spender>"
},
"name": "chain_allowance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | base | |
| owner | Yes | 0x000000000000000000000000000000000000dEaD | |
| token | Yes | 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 | |
| spender | Yes | 0x2626664c2603336E57B271c5C0b26F421741e481 |