Skip to content

OnApplicationComplete

Defined in: packages/transact/src/transactions/app-call.ts:127

On-completion actions for application transactions.

These values define what additional actions occur with the transaction.

ClearState: 3

Defined in: packages/transact/src/transactions/app-call.ts:148

ClearState is similar to CloseOut, but may never fail. This allows users to reclaim their minimum balance from an app they no longer wish to opt in to.


CloseOut: 2

Defined in: packages/transact/src/transactions/app-call.ts:142

CloseOut indicates that an app transaction will deallocate some local state for the app from the user’s account.


DeleteApplication: 5

Defined in: packages/transact/src/transactions/app-call.ts:159

DeleteApplication indicates that an app transaction will delete the app parameters for the app from the creator’s balance record.


NoOp: 0

Defined in: packages/transact/src/transactions/app-call.ts:132

NoOp indicates that an app transaction will simply call its approval program without any additional action.


OptIn: 1

Defined in: packages/transact/src/transactions/app-call.ts:137

OptIn indicates that an app transaction will allocate some local state for the app in the sender’s account.


UpdateApplication: 4

Defined in: packages/transact/src/transactions/app-call.ts:153

UpdateApplication indicates that an app transaction will update the approval program and clear state program for the app.