[#PSBTInput-2constructor-0c] = xref:PSBTInput.adoc[PSBTInput]::PSBTInput :relfileprefix: ../ :mrdocs: Construct an input by deserializing it from a stream (PSBTv2). == Synopsis Declared in `<psbt.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename Stream> explicit PSBTInput( xref:deserialize_type.adoc[deserialize_type] dtag, Stream& s, uint32_t psbt_version); ---- == Parameters [cols="1,4"] |=== | Name| Description | *dtag* | Tag selecting the deserializing constructor. | *s* | The input stream. | *psbt_version* | The PSBT version (must be 2). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#