arc72_approve_txn
Produce an unsigned ARC-72 approve transaction that grants an operator control over a specific token. Input network, application ID, token owner, approved operator, and token ID.
Instructions
Simulate ARC-72 approve(approved, tokenId); owner signs.
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>",
"approved": "<approved>",
"tokenId": "<tokenId>"
},
"name": "arc72_approve_txn"
}
}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. | |
| tokenId | Yes | ARC-72 token id as decimal string (may exceed Number.MAX_SAFE_INTEGER). | |
| approved | Yes | Spender / operator to approve for this token. |