[#wallet-CWallet-IsAddressPreviouslySpent]
= xref:wallet.adoc[wallet]::xref:wallet/CWallet.adoc[CWallet]::IsAddressPreviouslySpent
:relfileprefix: ../../
:mrdocs:

Report whether a destination has been marked as previously spent&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f2e1e599668), requires&lowbar;capability(0x7f2e11aaa428), requires&lowbar;capability(0x7f2e16a00218), requires&lowbar;capability(0x7f2e15f2f6b8), requires&lowbar;capability(0x7f2e12c6e348)&rsqb;&rsqb;
bool
IsAddressPreviouslySpent(xref:CTxDestination.adoc[CTxDestination] const& dest) const;
----

== Return Value

true if the destination was previously spent&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *dest*
| The destination to check&period;
|===


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