TransactionApplication
TransactionApplication:
object
Fields for application transactions.
Definition: data/transactions/application.go : ApplicationCallTxnFields
Type declaration
accounts?
optional
accounts: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?
optional
application-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?
optional
approval-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?
optional
clear-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?
optional
extra-program-pages:number
[epp] specifies the additional app program len requested in pages.
foreign-apps?
optional
foreign-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?
optional
foreign-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?
optional
global-state-schema:StateSchema
local-state-schema?
optional
local-state-schema:StateSchema
on-completion
on-completion:
OnCompletion
Defined in
types.gen.ts:1030