[#CTxMemPoolEntry-GetTxWeight] = xref:CTxMemPoolEntry.adoc[CTxMemPoolEntry]::GetTxWeight :relfileprefix: ../ :mrdocs: Returns the weight of the transaction. == Synopsis Declared in `<kernel/mempool_entry.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int32_t GetTxWeight() const; ---- == Return Value The transaction weight. [.small]#Created with https://www.mrdocs.com[MrDocs]#