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

Constructors

== Synopses

Declared in `&lt;psbt&period;h&gt;`

Construct a PSBT wrapping the given transaction&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:PartiallySignedTransaction/2constructor-04.adoc[PartiallySignedTransaction](
    xref:CMutableTransaction.adoc[CMutableTransaction] const& tx,
    uint32&lowbar;t version = 2);
----

[.small]#xref:PartiallySignedTransaction/2constructor-04.adoc[_» more&period;&period;&period;_]#

Construct a PSBT by deserializing it from a stream&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename Stream&gt;
xref:PartiallySignedTransaction/2constructor-0d.adoc[PartiallySignedTransaction](
    xref:deserialize_type.adoc[deserialize&lowbar;type] dtag,
    Stream& s);
----

[.small]#xref:PartiallySignedTransaction/2constructor-0d.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *tx*
| The transaction to wrap&period;
| *version*
| The PSBT version to use&period;
| *dtag*
| Tag selecting the deserializing constructor&period;
| *s*
| The input stream&period;
|===


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