arc200_approve_txn
Authorize a spender with an ARC-200 approve transaction. Simulates the owner's approval and returns an unsigned payload ready for signing.
Instructions
Simulate ARC-200 approve(spender, amount); owner signs.
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. | |
| amount | Yes | Amount in base units (string) to avoid JS safe integer limits. | |
| network | Yes | Algorand or Voi mainnet identifier. | |
| spender | Yes |