serializeWSolTokenTransaction static method
Seralize unwrap SOL transaction
transaction
is a SerializeWSOLTransaction object
Implementation
static Future<dynamic> serializeWSolTokenTransaction(
SerializeWSOLTransaction transaction) async {
const method = "enhancedSerializeTransaction";
final params = ["unwrap-sol", transaction];
return await SolanaService.rpc(method, params);
}