queryUserContributions method

Future<List<String>> queryUserContributions(
  1. List<String> paraIds,
  2. String pubKey
)

Implementation

Future<List<String>> queryUserContributions(
    List<String> paraIds, String pubKey) async {
  final res = await serviceRoot.webView!.evalJavascript('Promise.all(['
      '${paraIds.map((e) => 'parachain.queryUserContributions(api, "$e", "$pubKey")').join(',')}])');
  return List<String>.from(res);
}