menu
on_chain package
documentation
solana/src/instructions/spl_token/layouts/layouts/approve.dart
SPLTokenApproveLayout
serialize method
serialize method
dark_mode
light_mode
serialize
method
@
override
Map
<
String
,
dynamic
>
serialize
(
)
override
Serializes the layout.
Implementation
@override Map<String, dynamic> serialize() { return {"amount": amount}; }
on_chain package
documentation
solana/src/instructions/spl_token/layouts/layouts/approve
SPLTokenApproveLayout
serialize method
SPLTokenApproveLayout class