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

Report whether an output is spent by any known transaction&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f2e1e597ff8), requires&lowbar;capability(0x7f2e11aa8db8), requires&lowbar;capability(0x7f2e169feba8), requires&lowbar;capability(0x7f2e15f2e048), requires&lowbar;capability(0x7f2e12c6ccd8)&rsqb;&rsqb;
bool
IsSpent(xref:COutPoint.adoc[COutPoint] const& outpoint) const;
----

== Return Value

true if the output is spent&period;

== Parameters

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


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