toAddress method

ETHAddress toAddress()

Converts the public key to an Ethereum address.

Implementation

ETHAddress toAddress() {
  return ETHAddress.fromPublicKey(toBytes());
}