Return the Sui address associated with this Ed25519 public key
Returns number
toBase64
toBase64(): string
Return the base-64 representation of the public key
Returns string
toRawBytes
toRawBytes(): Uint8Array
Return the byte array representation of the Ed25519 public key
Returns Uint8Array
toString
toString(): never
Returns never
toSuiAddress
toSuiAddress(): string
Return the Sui address associated with this Ed25519 public key
Returns string
toSuiBytes
toSuiBytes(): Uint8Array
Returns the bytes representation of the public key
prefixed with the signature scheme flag
Returns Uint8Array
toSuiPublicKey
toSuiPublicKey(): string
Return the Sui representation of the public key encoded in
base-64. A Sui public key is formed by the concatenation
of the scheme flag with the raw bytes of the public key
Returns string
verify
verify(message, signature): Promise<boolean>
Verifies that the signature is valid for for the provided message
An Ed25519 public key