Skip to content

TransactionApplication

TransactionApplication = object

Defined in: packages/indexer_client/src/models/transaction-application.ts:28

Fields for application transactions.

Definition: data/transactions/application.go : ApplicationCallTxnFields

optional access: ResourceRef[]

Defined in: packages/indexer_client/src/models/transaction-application.ts:43

[al] Access unifies accounts, foreign-apps, foreign-assets, and box-references under a single list. If access is non-empty, these lists must be empty. If access is empty, those lists may be non-empty.


optional accounts: Address[]

Defined in: packages/indexer_client/src/models/transaction-application.ts:48

[apat] List of accounts in addition to the sender that may be accessed from the application’s approval-program and clear-state-program.


optional applicationArgs: Uint8Array[]

Defined in: packages/indexer_client/src/models/transaction-application.ts:38

[apaa] transaction specific arguments accessed from the application’s approval-program and clear-state-program.


applicationId: bigint

Defined in: packages/indexer_client/src/models/transaction-application.ts:32

[apid] ID of the application being configured or empty if creating.


optional approvalProgram: Uint8Array

Defined in: packages/indexer_client/src/models/transaction-application.ts:70

[apap] Logic executed for every application transaction, except when on-completion is set to “clear”. It can read and write global state for the application, as well as account-specific local state. Approval programs may reject the transaction.


optional boxReferences: BoxReference[]

Defined in: packages/indexer_client/src/models/transaction-application.ts:53

[apbx] the boxes that can be accessed by this transaction (and others in the same group).


optional clearStateProgram: Uint8Array

Defined in: packages/indexer_client/src/models/transaction-application.ts:75

[apsu] Logic executed for application transactions with on-completion set to “clear”. It can read and write global state for the application, as well as account-specific local state. Clear state programs cannot reject the transaction.


optional extraProgramPages: number

Defined in: packages/indexer_client/src/models/transaction-application.ts:80

[epp] specifies the additional app program len requested in pages.


optional foreignApps: bigint[]

Defined in: packages/indexer_client/src/models/transaction-application.ts:58

[apfa] Lists the applications in addition to the application-id whose global states may be accessed by this application’s approval-program and clear-state-program. The access is read-only.


optional foreignAssets: bigint[]

Defined in: packages/indexer_client/src/models/transaction-application.ts:63

[apas] lists the assets whose parameters may be accessed by this application’s ApprovalProgram and ClearStateProgram. The access is read-only.


optional globalStateSchema: StateSchema

Defined in: packages/indexer_client/src/models/transaction-application.ts:65


optional localStateSchema: StateSchema

Defined in: packages/indexer_client/src/models/transaction-application.ts:64


onCompletion: OnCompletion

Defined in: packages/indexer_client/src/models/transaction-application.ts:33


optional rejectVersion: number

Defined in: packages/indexer_client/src/models/transaction-application.ts:85

[aprv] the lowest application version for which this transaction should immediately fail. 0 indicates that no version check should be performed.