[#CTxMemPoolEntry-GetTx]
= xref:CTxMemPoolEntry.adoc[CTxMemPoolEntry]::GetTx
:relfileprefix: ../
:mrdocs:

Returns the stored transaction&period;

== Synopsis

Declared in `&lt;kernel&sol;mempool&lowbar;entry&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:CTransaction.adoc[CTransaction] const&
GetTx() const;
----

== Return Value

A reference to the transaction&period;


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