checkAddressFormat method

Future<bool?> checkAddressFormat(
  1. String address,
  2. int ss58
)

check address matches ss58Format

Implementation

Future<bool?> checkAddressFormat(String address, int ss58) async {
  final dynamic res = await serviceRoot.webView!
      .evalJavascript('account.checkAddressFormat("$address", $ss58)');
  return res;
}