toPublicKey method

SolanaPublicKey toPublicKey()

Converts the address to a Solana public key.

Implementation

SolanaPublicKey toPublicKey() {
  return SolanaPublicKey.fromBytes(toBytes());
}