Export the descriptors from a wallet so that they can be imported elsewhere
Declared in <wallet/export.h>
[[requires_capability(0x7f2e16015040)]]
util::Expected<std::vector<WalletDescInfo>, std::string>
ExportDescriptors(
CWallet const& wallet,
bool export_private);
The exported descriptor info on success, or an error string on failure.
| Name | Description |
|---|---|
| wallet | The wallet whose descriptors are exported. |
| export_private | Whether to include private keys in the exported descriptors. |