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

Returns a pointer to the mempool entry for the given txid, or nullptr if absent&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f95135d3428), requires&lowbar;capability(0x7f9501b12808), requires&lowbar;capability(0x7f950ec789f8), requires&lowbar;capability(0x7f9525ea8748), requires&lowbar;capability(0x7f9515097e88), requires&lowbar;capability(0x7f950826c128), requires&lowbar;capability(0x7f94f856f838), requires&lowbar;capability(0x7f9513c59a28)&rsqb;&rsqb;
xref:CTxMemPoolEntry.adoc[CTxMemPoolEntry] const*
GetEntry(xref:Txid.adoc[Txid] const& txid) const;
----

== Return Value

The entry, or nullptr if not present&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *txid*
| The txid to look up&period;
|===


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