[#wallet-LegacyDataSPKM-GetKeyOrigin] = xref:wallet.adoc[wallet]::xref:wallet/LegacyDataSPKM.adoc[LegacyDataSPKM]::GetKeyOrigin :relfileprefix: ../../ :mrdocs: Retrieves the key origin (derivation path and fingerprint) for the given key id. == Synopsis Declared in `<wallet/scriptpubkeyman.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual bool GetKeyOrigin( xref:CKeyID.adoc[CKeyID] const& keyid, xref:KeyOriginInfo.adoc[KeyOriginInfo]& info) const override; ---- == Return Value true if the key origin was found. == Parameters [cols="1,4"] |=== | Name| Description | *keyid* | The key id to look up. | *info* | Filled with the key origin information. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#