Creates a new TransactionApplication
object.
Optional
accounts?: (string | Address)[]Optional
applicationOptional
approvalOptional
clearOptional
extraOptional
foreignOptional
foreignOptional
globalOptional
localOptional
onOptional
accounts(apat) List of accounts in addition to the sender that may be accessed from the application's approval-program and clear-state-program.
Optional
application(apaa) transaction specific arguments accessed from the application's approval-program and clear-state-program.
(apid) ID of the application being configured or empty if creating.
Optional
approval(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
clear(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
extra(epp) specifies the additional app program len requested in pages.
Optional
foreign(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
foreign(apas) lists the assets whose parameters may be accessed by this application's ApprovalProgram and ClearStateProgram. The access is read-only.
Optional
globalRepresents a (apls) local-state or (apgs) global-state schema. These schemas determine how much storage may be used in a local-state or global-state for an application. The more space used, the larger minimum balance must be maintained in the account holding the data.
Optional
localRepresents a (apls) local-state or (apgs) global-state schema. These schemas determine how much storage may be used in a local-state or global-state for an application. The more space used, the larger minimum balance must be maintained in the account holding the data.
Optional
on(apan) defines the what additional actions occur with the transaction. Valid types:
Static
Private
encodingStatic
encodingStatic
fromGenerated using TypeDoc
Fields for application transactions. Definition: data/transactions/application.go : ApplicationCallTxnFields