[#PartiallySignedTransaction-2constructor-00] = xref:PartiallySignedTransaction.adoc[PartiallySignedTransaction]::PartiallySignedTransaction :relfileprefix: ../ :mrdocs: Constructors == Synopses Declared in `<psbt.h>` Construct a PSBT wrapping the given transaction. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:PartiallySignedTransaction/2constructor-04.adoc[PartiallySignedTransaction]( xref:CMutableTransaction.adoc[CMutableTransaction] const& tx, uint32_t version = 2); ---- [.small]#xref:PartiallySignedTransaction/2constructor-04.adoc[_» more..._]# Construct a PSBT by deserializing it from a stream. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename Stream> xref:PartiallySignedTransaction/2constructor-0d.adoc[PartiallySignedTransaction]( xref:deserialize_type.adoc[deserialize_type] dtag, Stream& s); ---- [.small]#xref:PartiallySignedTransaction/2constructor-0d.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *tx* | The transaction to wrap. | *version* | The PSBT version to use. | *dtag* | Tag selecting the deserializing constructor. | *s* | The input stream. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#