arc200_has_allowance
Determine whether a spender holds an active ARC-200 allowance from an owner on Algorand or Voi mainnets, checking if the allowance box exists and is non-zero.
Instructions
ARC-200 hasAllowance(owner, spender) — allowance box present / non-zero (ulujs dual-schema read).
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": {
"network": "<network>",
"appId": "<appId>",
"owner": "<owner>",
"spender": "<spender>"
},
"name": "arc200_has_allowance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appId | Yes | Application ID of the ARC-200 or ARC-72 contract. | |
| owner | Yes | 58-character AVM account address. | |
| network | Yes | Algorand or Voi mainnet identifier. | |
| spender | Yes |