[#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(0x7f2e1b5a3358), requires&lowbar;capability(0x7f2e2721c368), requires&lowbar;capability(0x7f2e421cda78), requires&lowbar;capability(0x7f2e2880ca38), requires&lowbar;capability(0x7f2e3212fdc8), requires&lowbar;capability(0x7f2e347f8458), requires&lowbar;capability(0x7f2e2b05c8c8), requires&lowbar;capability(0x7f2e2bee3f68)&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]#
