newPaySui method
Implementation
@override
Future<Uint8List> newPaySui(
SuiAddress signerAddress,
PaySuiTransaction txn
) async {
final resp = await client.request(
'unsafe_paySui',
[
signerAddress,
txn.inputCoins,
txn.recipients,
txn.amountsStr,
txn.gasBudget.toString()
]
);
return base64Decode(resp['txBytes']);
}