A valid HD private node and the network for which to encode the key.
Optional throwIf true, this function will throw an Error when the provided HD node
has a depth exceeding the maximum depth that can be encoded using the
BIP32 serialization format rather than returning the error as a string
(defaults to true).
Generated using TypeDoc
Encode an HD private key (as defined by BIP32) payload (without the checksum) given a valid HdPrivateNode and network.
Note that this function defaults to throwing encoding errors. To handle errors in a type-safe way, set
throwErrorstofalse.