[#DescriptorCache-GetCachedDerivedExtPubKey] = xref:DescriptorCache.adoc[DescriptorCache]::GetCachedDerivedExtPubKey :relfileprefix: ../ :mrdocs: Retrieve a cached xpub derived at an index == Synopsis Declared in `<script/descriptor.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool GetCachedDerivedExtPubKey( uint32_t key_exp_pos, uint32_t der_index, xref:CExtPubKey.adoc[CExtPubKey]& xpub) const; ---- == Return Value Whether a derived xpub was cached at that position and index. == Parameters [cols="1,4"] |=== | Name| Description | *key_exp_pos* [in] | Position of the key expression within the descriptor | *der_index* [in] | Derivation index of the xpub | *xpub* [out] | The CExtPubKey to get from cache |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#