getPubKeyAddressMap method

Future<Map?> getPubKeyAddressMap(
  1. List keyPairs,
  2. List<int> ss58
)

Implementation

Future<Map?> getPubKeyAddressMap(List keyPairs, List<int> ss58) async {
  final List<String> pubKeys =
      keyPairs.map((e) => e['pubKey'].toString()).toList();
  return await serviceRoot.account.encodeAddress(pubKeys, ss58);
}