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