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

Converts a mutable transaction into a CTransaction, moving its contents&period;

== Synopsis

Declared in `&lt;primitives&sol;transaction&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
CTransaction(xref:CMutableTransaction.adoc[CMutableTransaction]&& tx);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *tx*
| The mutable transaction to move from&period;
|===


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