CExtKey::Derive

Derive a BIP32 child extended key.

Synopsis

Declared in <key.h>

[[nodiscard]]
bool
Derive(
    CExtKey& out,
    unsigned int nChild) const;

Return Value

true if derivation succeeded.

NOTE

The return value should not be discarded.

Parameters

NameDescription
outOutput child extended key.
nChildIndex of the child key to derive.