TransactionStatus class
The status of a transaction
- Annotations
-
- @JsonSerializable()
Constructors
-
TransactionStatus({required dynamic err, required List<
String> ? logs, required List<Account> ? accounts, required int? unitsConsumed, ReturnData? returnData}) -
const
-
TransactionStatus.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
accounts
→ List<
Account> ? -
Array of accounts with the same length as the
accounts.addresses
array in the request.final - err → dynamic
-
Error if transaction failed, null if transaction succeeded.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
logs
→ List<
String> ? -
Array of log messages the transaction instructions output during
execution, null if simulation failed before the transaction was able to
execute (for example due to an invalid blockhash or signature verification
failure).
final
- returnData → ReturnData?
-
The most-recent return data generated by an instruction in the transaction
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- unitsConsumed → int?
-
The number of compute budget units consumed during the processing of this
transaction.
final
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