simulateTransaction method

Future<CallResult> simulateTransaction({
  1. required String transactionRequestHexOrJson,
})

Takes hex string on mobile and json tx request on web

Implementation

Future<CallResult> simulateTransaction({
  required String transactionRequestHexOrJson,
}) async {
  final callResult = await _walletUnlocked.simulateTransaction(
      transactionRequestHexOrJson: transactionRequestHexOrJson);
  validateTransactionReceipts(callResult);
  return callResult;
}