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

Determine how an output has been spent&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f94fde049e8), requires&lowbar;capability(0x7f95061a7728), requires&lowbar;capability(0x7f94f2b78238), requires&lowbar;capability(0x7f94f0cf6ec8), requires&lowbar;capability(0x7f94fee398b8)&rsqb;&rsqb;
xref:wallet/CWallet/SpendType.adoc[SpendType]
HowSpent(xref:COutPoint.adoc[COutPoint] const& outpoint) const;
----

== Return Value

The spend state of the output&period;

== Parameters

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


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