toAddress property

String get toAddress

Converts the public key to a Substrate address using the specified coinConf.

Implementation

String get toAddress {
  return SubstrateSr25519AddrEncoder().encodeKey(
    pubKey.compressed,
    coinConf.addrParams,
  );
}