estimateFees method

Future<Map?> estimateFees(
  1. Map txInfo,
  2. String params
)

Implementation

Future<Map?> estimateFees(Map txInfo, String params) async {
  dynamic res = await serviceRoot.webView!.evalJavascript(
    'keyring.txFeeEstimate(api, ${jsonEncode(txInfo)}, $params)',
  );
  return res;
}