[#DeriveExtKey] = DeriveExtKey :mrdocs: Get extended key and origin info for a given path == Synopsis Declared in `<key.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::optional<std::pair<CExtKey, KeyOriginInfo>> DeriveExtKey( xref:CExtKey.adoc[CExtKey] const& ext_key, std::vector<uint32_t> const& path); ---- == Return Value the resulting extended private key and origin info == Parameters [cols="1,4"] |=== | Name| Description | *ext_key* [in] | The extended private key to derive from | *path* [in] | The BIP 32 path |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#