Meta class
Meta
- Inheritance
-
- Object
- Serializable
- Meta
Constructors
-
Meta.new({Map<
String, dynamic> ? err, required u64 fee, required List<u64> preBalances, required List<u64> postBalances, List<InnerInstruction> ? innerInstructions, List<TokenBalance> ? preTokenBalances, List<TokenBalance> ? postTokenBalances, List<String> ? logMessages, LoadedAddress? loadedAddresses}) -
Transaction status metadata.
const
-
Meta.fromJson(Map<
String, dynamic> json) -
Creates an instance of
this
class from the constructor parameters defined in thejson
object.factory
Properties
-
err
→ Map<
String, dynamic> ? -
The error if the transaction failed or
null
if it succeeded.final - fee → u64
-
The fee this transaction was charged, as a u64 integer.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
innerInstructions
→ List<
InnerInstruction> ? -
The cross-program invocation instruction or
null
if inner instruction recording was not enabled.final - loadedAddresses → LoadedAddress?
-
The transaction addresses loaded from the address lookup tables or
null
if GetBlockConfig.maxSupportedTransactionVersion was not set in the request params.final -
logMessages
→ List<
String> ? -
The log messages or
null
if log message recording was not enabled during the transaction.final -
postBalances
→ List<
u64> -
The account balances after the transaction was processed.
final
-
postTokenBalances
→ List<
TokenBalance> ? -
The token balance after the transaction processed or
null
if token balance recording was not enabled during the transaction.final -
preBalances
→ List<
u64> -
The account balances before the transaction was processed.
final
-
preTokenBalances
→ List<
TokenBalance> ? -
The token balance before the transaction was processed or
null
if token balance recording was not enabled during the transaction.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> -
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) → Meta? -
Creates an instance of
this
class from the constructor parameters defined in thejson
object.override