serializeSolTransaction static method

Future serializeSolTransaction(
  1. SerializeSOLTransaction transaction
)

Seralize SOL transaction transaction is a SerializeSOLTransaction object

Implementation

static Future<dynamic> serializeSolTransaction(
    SerializeSOLTransaction transaction) async {
  const method = "enhancedSerializeTransaction";
  final params = ["transfer-sol", transaction];
  return await SolanaService.rpc(method, params);
}