[#TransactionInfo-2constructor] = xref:TransactionInfo.adoc[TransactionInfo]::TransactionInfo :relfileprefix: ../ :mrdocs: Constructs a transaction info snapshot. == Synopsis Declared in `<kernel/mempool_entry.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- TransactionInfo( xref:CTransactionRef.adoc[CTransactionRef] const& tx, xref:CAmount.adoc[CAmount] const& fee, int64_t const vsize, unsigned int const height); ---- == Parameters [cols="1,4"] |=== | Name| Description | *tx* | The transaction being described. | *fee* | The fee the transaction paid. | *vsize* | The virtual transaction size in bytes. | *height* | The block height the transaction entered the mempool. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#