TransactionApplication
TransactionApplication:
object
Fields for application transactions.
Definition: data/transactions/application.go : ApplicationCallTxnFields
Type declaration
accounts?
optionalaccounts:string[]
[apat] List of accounts in addition to the sender that may be accessed from the application’s approval-program and clear-state-program.
application-args?
optionalapplication-args:string[]
[apaa] transaction specific arguments accessed from the application’s approval-program and clear-state-program.
application-id
application-id:
number
[apid] ID of the application being configured or empty if creating.
approval-program?
optionalapproval-program:string
[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.
clear-state-program?
optionalclear-state-program:string
[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.
extra-program-pages?
optionalextra-program-pages:number
[epp] specifies the additional app program len requested in pages.
foreign-apps?
optionalforeign-apps:number[]
[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.
foreign-assets?
optionalforeign-assets:number[]
[apas] lists the assets whose parameters may be accessed by this application’s ApprovalProgram and ClearStateProgram. The access is read-only.
global-state-schema?
optionalglobal-state-schema:StateSchema
local-state-schema?
optionallocal-state-schema:StateSchema
on-completion
on-completion:
OnCompletion
Defined in
types.gen.ts:1030