Class: PublicKey

PublicKey(publicKey)

Represents a public key.

Constructor

new PublicKey(publicKey)

Creates a public key from bytes or a hex string.
Parameters:
Name Type Description
publicKey Uint8Array | string Input string, byte array or public key.
Source: