[#CBlockHeaderAndShortTxIDs-GetShortID] = xref:CBlockHeaderAndShortTxIDs.adoc[CBlockHeaderAndShortTxIDs]::GetShortID :relfileprefix: ../ :mrdocs: Computes the short ID for a transaction from its witness hash. == Synopsis Declared in `<blockencodings.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- uint64_t GetShortID(xref:Wtxid.adoc[Wtxid] const& wtxid) const; ---- == Return Value The truncated short transaction id. == Parameters [cols="1,4"] |=== | Name| Description | *wtxid* | The witness transaction id to hash. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#