getPrivateKey

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