newPay method
Implementation
@override
Future<Uint8List> newPay(
SuiAddress signerAddress,
PayTransaction txn
) async {
final resp = await client.request(
'unsafe_pay',
[
signerAddress,
txn.inputCoins,
txn.recipients,
txn.amounts.map((e) => e.toString()).toList(),
txn.gasPayment,
txn.gasBudget.toString(),
],
);
return base64Decode(resp['txBytes']);
}