newWithdrawStake method
Future<Uint8List>
newWithdrawStake(
- SuiAddress signerAddress,
- WithdrawStakeTransaction txn
override
Implementation
@override
Future<Uint8List> newWithdrawStake(SuiAddress signerAddress,
WithdrawStakeTransaction txn) async {
final resp = await client.request(
'unsafe_requestWithdrawStake',
[
signerAddress,
txn.stakeSui,
txn.gasPayment,
txn.gasBudget.toString()
]
);
return base64Decode(resp['txBytes']);
}