[#PSBTOutput-2constructor-06] = xref:PSBTOutput.adoc[PSBTOutput]::PSBTOutput :relfileprefix: ../ :mrdocs: Construct an output for the given PSBT version, amount, and script. == Synopsis Declared in `<psbt.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit PSBTOutput( uint32_t psbt_version, xref:CAmount.adoc[CAmount] amount, xref:CScript.adoc[CScript] const& script); ---- == Parameters [cols="1,4"] |=== | Name| Description | *psbt_version* | The PSBT version (0 or 2). | *amount* | The output amount. | *script* | The output script. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#