@dashevo/wallet-lib
Version:
Light wallet library for Dash
10 lines (6 loc) • 516 B
Markdown
**Usage**: `keychain.getPrivateKey()`
**Description**: Return the privateKey of the HDPrivateKey of a KeyChain initialized from a mnemonic (alternatively, if Keychain is init from a pk, it just returns it.)
Parameters:
| parameters | type | required | Description |
|-------------------|-------------|----------------| -------------------------------------------------|
Returns : PrivateKey