queryAddressWithAccountIndex method

Future<String?> queryAddressWithAccountIndex(
  1. String index
)

query address with account index

Implementation

Future<String?> queryAddressWithAccountIndex(String index) async {
  final res = await service.queryAddressWithAccountIndex(
      index, apiRoot.connectedNode!.ss58);
  if (res != null) {
    return res[0];
  }
  return null;
}