[#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(0x7ff3720ef398), requires_capability(0x7ff365f1f398), requires_capability(0x7ff35de5dd48), requires_capability(0x7ff35efe2828), requires_capability(0x7ff366fcee08)]] 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]#