[#wallet-LegacyDataSPKM-HaveWatchOnly] = xref:wallet.adoc[wallet]::xref:wallet/LegacyDataSPKM.adoc[LegacyDataSPKM]::HaveWatchOnly :relfileprefix: ../../ :mrdocs: Returns whether the watch‐only script is in the wallet == Synopsis Declared in `<wallet/scriptpubkeyman.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool HaveWatchOnly(xref:CScript.adoc[CScript] const& dest) const; ---- == Return Value true if the script is watched. == Parameters [cols="1,4"] |=== | Name| Description | *dest* | The watch‐only script to look up. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#