splitCoin method
Future<SuiExecuteTransactionResponse>
splitCoin(
- SplitCoinTransaction transaction, {
- SuiTransactionBlockResponseOptions? options,
- ExecuteTransaction requestType = ExecuteTransaction.WaitForLocalExecution,
Implementation
Future<SuiExecuteTransactionResponse> splitCoin(
SplitCoinTransaction transaction, {
SuiTransactionBlockResponseOptions? options,
ExecuteTransaction requestType = ExecuteTransaction.WaitForLocalExecution,
}) async {
final signerAddress = getAddress();
final txBytes = await serializer.newSplitCoin(signerAddress, transaction);
return await signAndExecuteTransaction(
transaction: txBytes,
options: options,
requestType: requestType,
);
}