[#TransactionInfo-2constructor]
= xref:TransactionInfo.adoc[TransactionInfo]::TransactionInfo
:relfileprefix: ../
:mrdocs:

Constructs a transaction info snapshot&period;

== Synopsis

Declared in `&lt;kernel&sol;mempool&lowbar;entry&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
TransactionInfo(
    xref:CTransactionRef.adoc[CTransactionRef] const& tx,
    xref:CAmount.adoc[CAmount] const& fee,
    int64&lowbar;t const vsize,
    unsigned int const height);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *tx*
| The transaction being described&period;
| *fee*
| The fee the transaction paid&period;
| *vsize*
| The virtual transaction size in bytes&period;
| *height*
| The block height the transaction entered the mempool&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
