makeQrCode method

Future<Map?> makeQrCode(
  1. Map txInfo,
  2. List params, {
  3. String? rawParam,
  4. int? ss58,
})

Implementation

Future<Map?> makeQrCode(Map txInfo, List params,
    {String? rawParam, int? ss58}) async {
  String param = rawParam != null ? rawParam : jsonEncode(params);
  final dynamic res = await serviceRoot.webView!.evalJavascript(
    'keyring.makeTx(api, ${jsonEncode(txInfo)}, $param, $ss58)',
  );
  return res;
}