getTransactionCost static method

Future<TransactionCost> getTransactionCost({
  1. required String networkUrl,
  2. required String transactionRequestHexOrJson,
})

Takes hex string on mobile and json tx request on web

Implementation

static Future<TransactionCost> getTransactionCost(
    {required String networkUrl,
    required String transactionRequestHexOrJson}) {
  return _utils.getTransactionCost(
      networkUrl: networkUrl,
      transactionRequestHexOrJson: transactionRequestHexOrJson);
}