[#txindex-02-LegacyTxKey]
= xref:txindex-02.adoc[txindex]::LegacyTxKey
:relfileprefix: ../
:mrdocs:

Key of a legacy (pre&hyphen;hashing) txindex row&colon; the full txid under the &apos;t&apos; prefix&period;

== Synopsis

Declared in `&lt;index&sol;txindex&lowbar;key&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::pair&lt;uint8&lowbar;t, uint256&gt;
LegacyTxKey(xref:Txid.adoc[Txid] const& txid);
----

== Return Value

The prefix byte paired with the full txid&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *txid*
| Transaction id to build the key for&period;
|===


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