[#CTxMemPool-isSpent]
= xref:CTxMemPool.adoc[CTxMemPool]::isSpent
:relfileprefix: ../
:mrdocs:

Returns whether the given outpoint is spent by a transaction in the mempool&period;

== Synopsis

Declared in `&lt;txmempool&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
isSpent(xref:COutPoint.adoc[COutPoint] const& outpoint) const;
----

== Return Value

true if an in&hyphen;mempool transaction spends the outpoint&period;

== Parameters

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


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