[#PSBTOutput] = PSBTOutput :mrdocs: A structure for PSBTs which contains per output information == Synopsis Declared in `<psbt.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class PSBTOutput; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:PSBTOutput/2constructor-01.adoc[`PSBTOutput`] [.small]#[constructor]# | Constructors | xref:PSBTOutput/FillSignatureData.adoc[`FillSignatureData`] | Populate signature data from this output's fields. | xref:PSBTOutput/FromSignatureData.adoc[`FromSignatureData`] | Copy relevant fields from the given signature data into this output. | xref:PSBTOutput/GetVersion.adoc[`GetVersion`] | Return the PSBT version of this output. | xref:PSBTOutput/Merge.adoc[`Merge`] | Merge another output's fields into this one. | xref:PSBTOutput/Serialize.adoc[`Serialize`] | Serialize this output to a stream. | xref:PSBTOutput/Unserialize.adoc[`Unserialize`] | Deserialize this output from a stream. | xref:PSBTOutput/operator_eq.adoc[`operator==`] | Compare two outputs for equality field by field. |=== == Data Members [cols="1,4"] |=== | Name| Description | xref:PSBTOutput/amount.adoc[`amount`] | The output amount (PSBTv2). | xref:PSBTOutput/hd_keypaths.adoc[`hd_keypaths`] | BIP32 derivation paths keyed by public key. | xref:PSBTOutput/m_musig2_participants.adoc[`m_musig2_participants`] | MuSig2 participant public keys keyed by aggregate public key. | xref:PSBTOutput/m_proprietary.adoc[`m_proprietary`] | Proprietary key‐value records. | xref:PSBTOutput/m_tap_bip32_paths.adoc[`m_tap_bip32_paths`] | Taproot BIP32 derivation paths keyed by x‐only public key. | xref:PSBTOutput/m_tap_internal_key.adoc[`m_tap_internal_key`] | Taproot internal key. | xref:PSBTOutput/m_tap_tree.adoc[`m_tap_tree`] | Taproot tree leaves, each as depth, leaf version, and script. | xref:PSBTOutput/redeem_script.adoc[`redeem_script`] | The redeem script for a P2SH output. | xref:PSBTOutput/script.adoc[`script`] | The output script (PSBTv2). | xref:PSBTOutput/unknown.adoc[`unknown`] | Unknown key‐value pairs preserved across round‐trips. | xref:PSBTOutput/witness_script.adoc[`witness_script`] | The witness script for a P2WSH output. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#