[#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(0x7fb955bcee08), requires_capability(0x7fb94db83728), requires_capability(0x7fb95ab135a8), requires_capability(0x7fb959fb0188), requires_capability(0x7fb956cba418)]] 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]#