toAddress method

SolAddress toAddress()

Derive the Solana address associated with the public key.

Implementation

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