check_token_allowance
Inspect ERC-20 token allowances for an owner and spender on a chosen chain, including optional Permit2 data, to assess approval risk and spending permissions.
Instructions
Paid WAI token allowance intelligence ($0.02 USDC); inspect ERC-20 allowances, optionally Permit2.
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": {
"chainId": "<chainId>",
"ownerAddress": "<ownerAddress>",
"tokenAddress": "<tokenAddress>",
"spenderAddress": "<spenderAddress>"
},
"name": "check_token_allowance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chainId | Yes | ||
| ownerAddress | Yes | ||
| tokenAddress | Yes | ||
| includePermit2 | No | ||
| spenderAddress | Yes |