TransactionApplication
TransactionApplication =
object
Defined in: packages/indexer_client/src/models/transaction-application.ts:28
Fields for application transactions.
Definition: data/transactions/application.go : ApplicationCallTxnFields
Properties
Section titled “Properties”access?
Section titled “access?”
optionalaccess: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.
accounts?
Section titled “accounts?”
optionalaccounts: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.
applicationArgs?
Section titled “applicationArgs?”
optionalapplicationArgs: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
Section titled “applicationId”applicationId:
bigint
Defined in: packages/indexer_client/src/models/transaction-application.ts:32
[apid] ID of the application being configured or empty if creating.
approvalProgram?
Section titled “approvalProgram?”
optionalapprovalProgram: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.
boxReferences?
Section titled “boxReferences?”
optionalboxReferences: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).
clearStateProgram?
Section titled “clearStateProgram?”
optionalclearStateProgram: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.
extraProgramPages?
Section titled “extraProgramPages?”
optionalextraProgramPages:number
Defined in: packages/indexer_client/src/models/transaction-application.ts:80
[epp] specifies the additional app program len requested in pages.
foreignApps?
Section titled “foreignApps?”
optionalforeignApps: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.
foreignAssets?
Section titled “foreignAssets?”
optionalforeignAssets: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.
globalStateSchema?
Section titled “globalStateSchema?”
optionalglobalStateSchema:StateSchema
Defined in: packages/indexer_client/src/models/transaction-application.ts:65
localStateSchema?
Section titled “localStateSchema?”
optionallocalStateSchema:StateSchema
Defined in: packages/indexer_client/src/models/transaction-application.ts:64
onCompletion
Section titled “onCompletion”onCompletion:
OnCompletion
Defined in: packages/indexer_client/src/models/transaction-application.ts:33
rejectVersion?
Section titled “rejectVersion?”
optionalrejectVersion: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.