serializeSolTransaction static method
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);
}