toSS58Address method

String toSS58Address({
  1. int? ss58Format,
})

Implementation

String toSS58Address({int? ss58Format}) {
  final Map<String, dynamic> addrParams = {
    "ss58_format": ss58Format ?? coinConf.ss58Format
  };
  return coinConf.addressEncoder().encodeKey(pubKey.compressed, addrParams);
}