ApplicationTransactionResponse class

Fields for application transactions.

Annotations
  • @JsonSerializable(fieldRename: FieldRename.kebab)

Constructors

ApplicationTransactionResponse({required int applicationId, required OnCompletion onCompletion, required List<String> accounts, required List<String> applicationArguments, required List<int> foreignApps, required List<int> foreignAssets, required int extraProgramPages, String? approvalProgram, String? clearStateProgram, StateSchema? globalStateSchema, StateSchema? localStateSchema})
ApplicationTransactionResponse.fromJson(Map<String, dynamic> json)
factory

Properties

accounts List<String>
List of accounts in addition to the sender that may be accessed from the application's approval-program and clear-state-program.
final
applicationArguments List<String>
Transaction specific arguments accessed from the application's approval-program and clear-state-program.
final
applicationId int
ID of the application being configured or empty if creating.
final
approvalProgram String?
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.
final
clearStateProgram String?
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.
final
extraProgramPages int
Specifies the additional app program len requested in pages. Defaults to 0
final
foreignApps List<int>
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.
final
foreignAssets List<int>
Lists the assets whose parameters may be accessed by this application's ApprovalProgram and ClearStateProgram. The access is read-only.
final
globalStateSchema StateSchema?
final
hashCode int
The hash code for this object.
no setterinherited
localStateSchema StateSchema?
final
onCompletion OnCompletion
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited