TransactionInfo<T extends Object> class

Transaction Info

Inheritance

Constructors

TransactionInfo.new({required T transaction, required Meta? meta, required Object? version, required u64 slot, required i64? blockTime})
Confirmed Transaction Block.
const

Properties

binaryData String
Casts rawData to a binary encoded String.
no setterinherited
blockTime i64?
The estimated production time, as Unix timestamp (seconds since the Unix epoch) of when the transaction was processed - null if not available.
final
hashCode int
The hash code for this object.
no setterinherited
isBinary bool
True if rawData is a binary encoded List.
no setterinherited
isJson bool
True if rawData is a JSON object.
no setterinherited
jsonData Map<String, dynamic>
Casts rawData to a JSON object.
no setterinherited
meta Meta?
Transaction status metadata.
finalinherited
rawData → T
A Serializable class for Account and Transaction data. Account or Transaction data.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
slot u64
The slot this transaction was processed in.
final
transaction → T
Transaction data returned as JSON or binary encoded data.
finalinherited
version Object?
Transaction version ('legacy'|number) or null if GetBlockConfig.maxSupportedTransactionVersion was not set in the request params.
finalinherited

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

fromJson(Map<String, dynamic> json) TransactionInfo<Object>
Creates an instance of this class from the constructor parameters defined in the json object.
override
parse(Map<String, dynamic> json) TransactionInfo<Object>
Creates an instance of this class from the constructor parameters defined in the json object.
override
tryParse(Map<String, dynamic>? json) TransactionInfo<Object>?
Creates an instance of this class from the constructor parameters defined in the json object.