[#MakeTransactionRef]
= MakeTransactionRef
:mrdocs:

Builds a shared pointer to an immutable transaction from the given value&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename Tx&gt;
static
xref:CTransactionRef.adoc[CTransactionRef]
MakeTransactionRef(Tx&& txIn);
----

== Return Value

A shared pointer owning the constructed transaction&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *txIn*
| The transaction to store, copied or moved into the shared pointer&period;
|===


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