Skip to content

OnCompleteAction

Algorand TypeScript


Algorand TypeScript / index / OnCompleteAction

Defined in: on-complete-action.ts:9

The possible on complete actions a method can handle, represented as an integer

ClearState: 3

Defined in: on-complete-action.ts:25

Run the clear state program and forcibly close the user out of the contract


CloseOut: 2

Defined in: on-complete-action.ts:21

Close the calling user out of the contract


DeleteApplication: 5

Defined in: on-complete-action.ts:33

Delete the application


NoOp: 0

Defined in: on-complete-action.ts:13

Do nothing after the transaction has completed


OptIn: 1

Defined in: on-complete-action.ts:17

Opt the calling user into the contract


UpdateApplication: 4

Defined in: on-complete-action.ts:29

Replace the application’s approval and clear state programs with the bytes from this transaction