Function decodeHdPrivateKey
- decodeHdPrivateKey(hdPrivateKey, __namedParameters?): string | DecodedHdKey<HdPrivateNodeValid>
 Parameters
hdPrivateKey: string
__namedParameters: { 
    crypto?: { 
        secp256k1: { 
            validatePublicKey: ((publicKey) => boolean); 
        }; 
        sha256: { 
            hash: ((input) => Uint8Array) & ((input) => Uint8Array); 
        }; 
    }; 
} = {}
Optional crypto?: { 
    secp256k1: { 
        validatePublicKey: ((publicKey) => boolean); 
    }; 
    sha256: { 
        hash: ((input) => Uint8Array) & ((input) => Uint8Array); 
    }; 
}
secp256k1: { 
    validatePublicKey: ((publicKey) => boolean); 
}
validatePublicKey: ((publicKey) => boolean)
- (publicKey): boolean
 Returns boolean
sha256: { 
    hash: ((input) => Uint8Array) & ((input) => Uint8Array); 
}
hash: ((input) => Uint8Array) & ((input) => Uint8Array)
Decode an HD private key as defined by BIP32.
This method is similar to decodeHdKey but ensures that the result is a valid HD private node. Decoding error messages are returned as strings.