TransactionStatus class

Transaction Status

Inheritance

Constructors

TransactionStatus.new({required dynamic err, required List? logs, required List<AccountInfo?>? accounts, required u64? unitsConsumed})
Transaction status.
const
TransactionStatus.fromJson(Map<String, dynamic> json)
Creates an instance of this class from the constructor parameters defined in the json object.
factory

Properties

accounts List<AccountInfo?>?
An array of accounts with the same length as the accounts.addresses array in the request.
final
err → dynamic
The error if transaction failed, null if transaction succeeded.
final
hashCode int
The hash code for this object.
no setterinherited
logs List?
An 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
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
unitsConsumed u64?
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>
Serialises this class into a JSON object.
override
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

tryFromJson(Map<String, dynamic>? json) TransactionStatus?
Creates an instance of this class from the constructor parameters defined in the json object.
override