[#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(0x7f94fde07358), requires_capability(0x7f95061aa098), requires_capability(0x7f94f2b7aba8), requires_capability(0x7f94f0cf9838), requires_capability(0x7f94fee3c228)]] 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]#