[#CBlockHeaderAndShortTxIDs-BlockTxCount] = xref:CBlockHeaderAndShortTxIDs.adoc[CBlockHeaderAndShortTxIDs]::BlockTxCount :relfileprefix: ../ :mrdocs: Returns the total number of transactions in the block. == Synopsis Declared in `<blockencodings.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- size_t BlockTxCount() const; ---- == Return Value The count of short‐id and prefilled transactions combined. [.small]#Created with https://www.mrdocs.com[MrDocs]#