[#CExtKey-Derive] = xref:CExtKey.adoc[CExtKey]::Derive :relfileprefix: ../ :mrdocs: Derive a BIP32 child extended key. == Synopsis Declared in `<key.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[nodiscard]] bool Derive( xref:CExtKey.adoc[CExtKey]& out, unsigned int nChild) const; ---- == Return Value true if derivation succeeded. [NOTE] ==== The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^]. ==== == Parameters [cols="1,4"] |=== | Name| Description | *out* | Output child extended key. | *nChild* | Index of the child key to derive. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#