SPLTokenMetaDataEmitLayout class
Emits the token-metadata as return data layout.
- Inheritance
-
- Object
- ProgramLayout
- SPLTokenMetaDataProgramLayout
- SPLTokenMetaDataEmitLayout
Constructors
- SPLTokenMetaDataEmitLayout({BigInt? start, BigInt? end})
-
Constructs a new instance of SPLTokenMetaDataEmitLayout with the provided start and end values.
const
-
SPLTokenMetaDataEmitLayout.fromBuffer(List<
int> bytes) -
Decodes the provided byte array to construct a new SPLTokenMetaDataEmitLayout instance.
factory
Properties
- end → BigInt?
-
End of range of data to emit
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
instruction
→ List<
int> -
Gets the instruction bytes for the emit instruction.
no setteroverride
- layout → StructLayout
-
Gets the layout structure of this emit instruction.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- start → BigInt?
-
Start of range of data to emit.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
serialize(
) → Map< String, dynamic> -
Serializes the emit instruction data.
override
-
toBytes(
) → List< int> -
Converts the program to bytes using Borsh serialization.
inherited
-
toHex(
) → String -
Converts the program to a hexadecimal string.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited