[#CTxMemPool-size] = xref:CTxMemPool.adoc[CTxMemPool]::size :relfileprefix: ../ :mrdocs: Returns the number of transactions in the mempool. == Synopsis Declared in `<txmempool.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- unsigned long size() const; ---- == Return Value The transaction count. [.small]#Created with https://www.mrdocs.com[MrDocs]#