executeMoveCall method

Future<SuiExecuteTransactionResponse> executeMoveCall(
  1. MoveCallTransaction transaction, {
  2. SuiTransactionBlockResponseOptions? options,
  3. ExecuteTransaction requestType = ExecuteTransaction.WaitForLocalExecution,
})

Implementation

Future<SuiExecuteTransactionResponse> executeMoveCall(
  MoveCallTransaction transaction, {
  SuiTransactionBlockResponseOptions? options,
  ExecuteTransaction requestType = ExecuteTransaction.WaitForLocalExecution
}) async {
  final signerAddress = getAddress();
  final txBytes = await serializer.newMoveCall(
    signerAddress,
    transaction
  );
  return await signAndExecuteTransaction(
    transaction: txBytes,
    options: options,
    requestType: requestType
  );
}