[#txindex-02-LegacyTxKey] = xref:txindex-02.adoc[txindex]::LegacyTxKey :relfileprefix: ../ :mrdocs: Key of a legacy (pre‐hashing) txindex row: the full txid under the 't' prefix. == Synopsis Declared in `<index/txindex_key.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::pair<uint8_t, uint256> LegacyTxKey(xref:Txid.adoc[Txid] const& txid); ---- == Return Value The prefix byte paired with the full txid. == Parameters [cols="1,4"] |=== | Name| Description | *txid* | Transaction id to build the key for. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#