newTransferSui method
Implementation
@override
Future<Uint8List> newTransferSui(
SuiAddress signerAddress,
TransferSuiTransaction txn
) async {
final resp = await client.request(
'unsafe_transferSui',
[
signerAddress,
txn.suiObjectId,
txn.gasBudget.toString(),
txn.recipient,
txn.amount.toString()
]
);
return base64Decode(resp['txBytes']);
}