SPLToken2022TransferCheckedWithFeeLayout class
Transfer, providing expected mint information and fees layout.
- Inheritance
-
- Object
- ProgramLayout
- SPLTokenProgramLayout
- SPLToken2022TransferCheckedWithFeeLayout
Constructors
- SPLToken2022TransferCheckedWithFeeLayout({required BigInt amount, required int decimals, required BigInt fee})
-
SPLToken2022TransferCheckedWithFeeLayout.fromBuffer(List<
int> bytes) -
factory
Properties
- amount → BigInt
-
/// The amount of tokens to transfer.
final
- decimals → int
-
Expected number of base 10 digits to the right of the decimal place.
final
- fee → BigInt
-
Expected fee assessed on this transfer, calculated off-chain based
on the transfer_fee_basis_points and maximum_fee of the
mint.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- instruction → int
-
The instruction of the program.
final
- layout → StructLayout
-
The layout representing the structure of the program.
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 program.
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