[#wallet-CWallet-HowSpent] = xref:wallet.adoc[wallet]::xref:wallet/CWallet.adoc[CWallet]::HowSpent :relfileprefix: ../../ :mrdocs: Determine how an output has been spent. == Synopsis Declared in `<wallet/wallet.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f94fde049e8), requires_capability(0x7f95061a7728), requires_capability(0x7f94f2b78238), requires_capability(0x7f94f0cf6ec8), requires_capability(0x7f94fee398b8)]] xref:wallet/CWallet/SpendType.adoc[SpendType] HowSpent(xref:COutPoint.adoc[COutPoint] const& outpoint) const; ---- == Return Value The spend state of the output. == Parameters [cols="1,4"] |=== | Name| Description | *outpoint* | The outpoint to classify. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#