Create a new PublicKey instance from a Uint8Array or String.
A HexInput (string or Uint8Array)
Private
Readonly
keyBytes of the public key
Static
Readonly
LENGTHLength of an Ed25519 public key
Get the authentication key associated with this public key
Verifies a signed data with a public key
Static
deserializeStatic
isStatic
isuse instanceof Ed25519PublicKey
instead.
Represents the public key of an Ed25519 key pair.
Since AIP-55 Aptos supports
Legacy
andUnified
authentication keys.Ed25519 scheme is represented in the SDK as
Legacy authentication key
and also asAnyPublicKey
that represents anyUnified authentication key