newAddStake method
Implementation
@override
Future<Uint8List> newAddStake(
SuiAddress signerAddress,
AddStakeTransaction txn
) async {
final resp = await client.request(
'unsafe_requestAddStake',
[
signerAddress,
txn.coins,
txn.amount.toString(),
txn.validator,
txn.gasPayment,
txn.gasBudget.toString()
]
);
return base64Decode(resp['txBytes']);
}