serializeSplTokenTransaction static method
Seralize Spl token transaction
transaction
is a SerializeSplTokenTransaction object
Implementation
static Future<dynamic> serializeSplTokenTransaction(
SerializeSplTokenTransaction transaction) async {
const method = "enhancedSerializeTransaction";
final params = ["transfer-token", transaction];
return await SolanaService.rpc(method, params);
}