Constructors
constructor
- new PublicKey(key: Buffer, prefix?: string): PublicKey
-
Parameters
-
key: Buffer
-
Default value prefix: string = DEFAULT_ADDRESS_PREFIX
Methods
verify
- verify(message: Buffer, signature: Signature): boolean
-
Parameters
Returns boolean
ECDSA (secp256k1) public key.