newPayAllSui method
Implementation
@override
Future<Uint8List> newPayAllSui(
SuiAddress signerAddress,
PayAllSuiTransaction txn
) async {
final resp = await client.request(
'unsafe_payAllSui',
[
signerAddress,
txn.inputCoins,
txn.recipient,
txn.gasBudget.toString()
]
);
return base64Decode(resp['txBytes']);
}