toAddress method

TronAddress toAddress()

Method to obtain the corresponding Tron address from the public key

Implementation

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