[#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(0x7f2e1e597f38), requires_capability(0x7f2e11aa8cf8), requires_capability(0x7f2e169feae8), requires_capability(0x7f2e15f2df88), requires_capability(0x7f2e12c6cc18)]] 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]#