Return the base-64 representation of the public key
Returns string
AbstracttoRawBytes
toRawBytes(): Uint8Array
Return the byte array representation of the 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
Abstractverify
verify(data, signature): Promise<boolean>
Verifies that the signature is valid for for the provided message
A public key