SPLTokenMintToLayout class
Mints new tokens to an account layout.
- Inheritance
-
- Object
- LayoutSerializable
- ProgramLayout
- SPLTokenProgramLayout
- SPLTokenMintToLayout
Constructors
- SPLTokenMintToLayout({required BigInt amount})
- Constructs an SPLTokenMintToLayout instance.
-
SPLTokenMintToLayout.fromBuffer(List<
int> bytes) -
Constructs an SPLTokenMintToLayout instance from buffer.
factory
Properties
- amount → BigInt
-
The amount of new tokens to mint.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- instruction → SPLTokenProgramInstruction
-
Instruction associated with the layout.
final
- layout → StructLayout
-
Returns the layout structure.
no setteroverride
- 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
-
serialize(
) → Map< String, dynamic> -
Serializes the layout data.
override
-
toBytes(
) → List< int> -
Converts the program to bytes using Borsh serialization.
inherited
-
toHex(
) → String -
Converts the program to a hexadecimal string.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited