[#wallet-LegacyDataSPKM-LoadWatchOnly]
= xref:wallet.adoc[wallet]::xref:wallet/LegacyDataSPKM.adoc[LegacyDataSPKM]::LoadWatchOnly
:relfileprefix: ../../
:mrdocs:

Adds a watch&hyphen;only address to the store, without saving it to disk (used by LoadWallet)

== Synopsis

Declared in `&lt;wallet&sol;scriptpubkeyman&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
LoadWatchOnly(xref:CScript.adoc[CScript] const& dest);
----

== Return Value

true if the script was added&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *dest*
| The watch&hyphen;only script to add&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
