Class TransactionApplication


  • public class TransactionApplication
    extends PathResponse
    Fields for application transactions. Definition: data/transactions/application.go : ApplicationCallTxnFields
    • Field Detail

      • applicationArgs

        public List<byte[]> applicationArgs
        (apaa) transaction specific arguments accessed from the application's approval-program and clear-state-program.
      • applicationId

        public Long applicationId
        (apid) ID of the application being configured or empty if creating.
      • approvalProgram

        public byte[] approvalProgram
      • clearStateProgram

        public byte[] clearStateProgram
      • extraProgramPages

        public Long extraProgramPages
        (epp) specifies the additional app program len requested in pages.
      • foreignApps

        public List<Long> foreignApps
        (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

        public List<Long> foreignAssets
        (apas) lists the assets whose parameters may be accessed by this application's ApprovalProgram and ClearStateProgram. The access is read-only.
      • globalStateSchema

        public StateSchema globalStateSchema
        Represents 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.
      • localStateSchema

        public StateSchema localStateSchema
        Represents 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.
      • onCompletion

        public Enums.OnCompletion onCompletion
        (apan) defines the what additional actions occur with the transaction. Valid types: noop optin closeout clear update update delete
    • Constructor Detail

      • TransactionApplication

        public TransactionApplication()
    • Method Detail

      • applicationArgs

        public void applicationArgs​(List<String> base64Encoded)
      • applicationArgs

        public List<String> applicationArgs()
      • approvalProgram

        public void approvalProgram​(String base64Encoded)
        (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.
      • approvalProgram

        public String approvalProgram()
      • clearStateProgram

        public void clearStateProgram​(String base64Encoded)
        (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.
      • clearStateProgram

        public String clearStateProgram()