@bloock/sdk / KeyPair
Class: KeyPair
Represents a pair of public and private keys.
Hierarchy
-
KeyPair
Table of contents
Constructors
Properties
Constructors
constructor
• new KeyPair(publicKey, privateKey): KeyPair
Constructs a KeyPair object with the specified parameters.
Parameters
| Name | Type |
|---|---|
publicKey | string |
privateKey | string |
Returns
Defined in
Properties
privateKey
• privateKey: string
Defined in
publicKey
• publicKey: string