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

Constructors

== Synopses

Declared in `&lt;kernel&sol;bitcoinkernel&lowbar;wrapper&period;h&gt;`

Constructs a transaction by deserializing raw bytes&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:btck/Transaction/2constructor-03.adoc[Transaction](std::span&lt;std::byte const&gt; raw&lowbar;transaction);
----

[.small]#xref:btck/Transaction/2constructor-03.adoc[_» more&period;&period;&period;_]#

Constructs an owning copy from a view&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:btck/Transaction/2constructor-06.adoc[Transaction](xref:btck/TransactionView.adoc[TransactionView] const& view);
----

[.small]#xref:btck/Transaction/2constructor-06.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *raw&lowbar;transaction*
| The serialized transaction bytes&period;
| *view*
| The view to copy&period;
|===


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