[#wallet-CWallet-GetWalletDescriptors] = xref:wallet.adoc[wallet]::xref:wallet/CWallet.adoc[CWallet]::GetWalletDescriptors :relfileprefix: ../../ :mrdocs: Get the wallet descriptors for a script. == Synopsis Declared in `<wallet/wallet.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::vector<WalletDescriptor> GetWalletDescriptors(xref:CScript.adoc[CScript] const& script) const; ---- == Return Value The wallet descriptors that produce the script. == Parameters [cols="1,4"] |=== | Name| Description | *script* | The script to match against. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#