approval-check
Check a token approval before signing it: reads the ERC-20 allowance (owner -> spender) live on Base and returns the raw allowance, an unlimited-approval flag and a risk verdict. Read-only, no keys, no transaction.
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>",
"spender": "<spender>"
},
"name": "approval-check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | ERC-20 token owner address (0x + 40 hex). | |
| token | No | ERC-20 token address. Defaults to USDC on Base. | |
| spender | Yes | Spender address whose allowance is checked. |