[#CTxMemPool-info_for_relay]
= xref:CTxMemPool.adoc[CTxMemPool]::info&lowbar;for&lowbar;relay
:relfileprefix: ../
:mrdocs:

Returns info for a transaction if its entry&lowbar;sequence &lt; last&lowbar;sequence

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;xref:TxidOrWtxid.adoc[TxidOrWtxid] T&gt;
xref:TxMempoolInfo.adoc[TxMempoolInfo]
info&lowbar;for&lowbar;relay(
    T const& id,
    uint64&lowbar;t last&lowbar;sequence) const;
----

== Return Value

The transaction info, or a default&hyphen;constructed value if not eligible&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *id*
| The txid or wtxid to look up&period;
| *last&lowbar;sequence*
| Only return info if the entry&apos;s sequence is below this value&period;
|===


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