make_app_clear_txn
Create an application clear state transaction on the Algorand blockchain to remove local state data from a smart contract application.
Instructions
Create an application clear state transaction
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | Yes | Sender address in standard Algorand format (58 characters) | |
| appIndex | Yes | ID of the application to clear state from | |
| note | No | Transaction note field (up to 1000 bytes) | |
| lease | No | Lease enforces mutual exclusion of transactions (32 bytes) | |
| rekeyTo | No | Address to rekey the sender account to | |
| appArgs | No | Arguments to pass to the application (max 16 arguments) | |
| accounts | No | Accounts whose local state may be accessed (max 4 accounts) | |
| foreignApps | No | IDs of apps whose global state may be accessed (max 8 apps) | |
| foreignAssets | No | IDs of assets that may be accessed (max 8 assets) | |
| onComplete | No | Application call completion behavior (0=NoOp, 1=OptIn, 2=CloseOut, 3=ClearState, 4=UpdateApplication, 5=DeleteApplication) | |
| fee | No | Transaction fee in microAlgos. If not set, uses suggested fee from the network | |
| flatFee | No | If true, fee is used as-is (flat fee). If false (default), fee is per-byte | |
| network | No | Algorand network to use (default: mainnet) | |
| itemsPerPage | No | Number of items per page for paginated responses (default: 10) |