serializeSplTokenTransaction static method

Future serializeSplTokenTransaction(
  1. SerializeSplTokenTransaction transaction
)

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);
}