Creates a new TransactionApplication object.
Optional access?: ResourceRef[]Optional accounts?: (string | Address)[]Optional applicationOptional approvalOptional boxOptional clearOptional extraOptional foreignOptional foreignOptional globalOptional localOptional onOptional rejectOptional access(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(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 box(apbx) the boxes that can be accessed by this transaction (and others in the same group).
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:
Optional reject(aprv) the lowest application version for which this transaction should immediately fail. 0 indicates that no version check should be performed.
Static Private encodingStatic encodingStatic fromGenerated using TypeDoc
Fields for application transactions. Definition: data/transactions/application.go : ApplicationCallTxnFields