SolanaMintAccount class

Mint data.

Inheritance

Constructors

SolanaMintAccount({required SolAddress address, required SolAddress? mintAuthority, required BigInt supply, required int decimals, required bool isInitialized, required SolAddress? freezeAuthority})
const
SolanaMintAccount.fromBuffer({required List<int> data, required SolAddress address})
factory

Properties

address SolAddress
final
decimals int
Number of base 10 digits to the right of the decimal place.
final
freezeAuthority SolAddress?
Optional authority to freeze token accounts.
final
hashCode int
The hash code for this object.
no setterinherited
isInitialized bool
Is true if this structure has been initialized
final
layout Structure
The layout representing the structure of the object for serialization.
no setteroverride
mintAuthority SolAddress?
Optional authority used to mint new tokens. The mint authority may only be provided during mint creation. If no mint authority is present then the mint has a fixed supply and no further tokens may be minted.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
supply BigInt
Total supply of tokens.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize() Map<String, dynamic>
Serializes the object to a map.
override
toBytes() List<int>
Converts the object to bytes using Borsh serialization.
inherited
toHex() String
Converts the object to a hexadecimal string.
inherited
toString() String
A string representation of this object.
override

Operators

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