[#wallet-CWallet-GetDescriptorsForLegacy] = xref:wallet.adoc[wallet]::xref:wallet/CWallet.adoc[CWallet]::GetDescriptorsForLegacy :relfileprefix: ../../ :mrdocs: Get all of the descriptors from a legacy wallet == Synopsis Declared in `<wallet/wallet.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f2e1e59a8a8), requires_capability(0x7f2e11aab668), requires_capability(0x7f2e16a01458), requires_capability(0x7f2e15f308f8), requires_capability(0x7f2e12c6f588)]] std::optional<MigrationData> GetDescriptorsForLegacy(xref:bilingual_str.adoc[bilingual_str]& error) const; ---- == Return Value The migration data, or nullopt on failure. == Parameters [cols="1,4"] |=== | Name| Description | *error* | Set to an error message on failure. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#