SignatureStatus class

Signature Status

Inheritance

Constructors

SignatureStatus.new({required u64 slot, required usize? confirmations, required Map<String, dynamic>? err, required Commitment? confirmationStatus})
Signature Status.
const
SignatureStatus.fromJson(Map<String, dynamic> json)
Creates an instance of this class from the constructor parameters defined in the json object.
factory

Properties

confirmations usize?
The number of blocks since signature confirmation, null if rooted, as well as finalized by a supermajority of the cluster.
final
confirmationStatus Commitment?
The confirmationStatus associated with the transaction, null if no confirmationStatus is present.
final
err Map<String, dynamic>?
An error if transaction failed, null if transaction succeeded.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
slot u64
The slot the transaction was processed.
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) SignatureStatus?
Creates an instance of this class from the constructor parameters defined in the json object.
override