base_token_allowance
Read an ERC-20 allowance on Base at a pinned block before an AI proposes spending. Returns exact units, decimals and provenance. Does not approve or transfer tokens. Version 253064e6ce6110d8. Requires 0.01 native USDC per call on Base; shared paid pilot limits apply.
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": {
"tokenAddress": "<tokenAddress>",
"ownerAddress": "<ownerAddress>",
"spenderAddress": "<spenderAddress>"
},
"name": "base_token_allowance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ownerAddress | Yes | ||
| tokenAddress | Yes | ||
| spenderAddress | Yes |