queryRecoveryProxies method

Future<List?> queryRecoveryProxies(
  1. List<String> addresses
)

Implementation

Future<List?> queryRecoveryProxies(List<String> addresses) async {
  List queries =
      addresses.map((e) => 'api.query.recovery.proxy("$e")').toList();
  final res = await serviceRoot.webView!.evalJavascript(
    'Promise.all([${queries.join(',')}])',
    allowRepeat: true,
  );
  return res;
}