[#PartiallySignedTransaction] = PartiallySignedTransaction :mrdocs: A version of CTransaction with the PSBT format == Synopsis Declared in `<psbt.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class PartiallySignedTransaction; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:PartiallySignedTransaction/2constructor-00.adoc[`PartiallySignedTransaction`] [.small]#[constructor]# | Constructors | xref:PartiallySignedTransaction/AddInput.adoc[`AddInput`] | Append a new input to this transaction. | xref:PartiallySignedTransaction/AddOutput.adoc[`AddOutput`] | Append a new output to this transaction. | xref:PartiallySignedTransaction/ComputeTimeLock.adoc[`ComputeTimeLock`] | Compute the effective locktime from the inputs and fallback. | xref:PartiallySignedTransaction/GetUniqueID.adoc[`GetUniqueID`] | Compute a stable identifier for this PSBT's underlying transaction. | xref:PartiallySignedTransaction/GetUnsignedTx.adoc[`GetUnsignedTx`] | Reconstruct the unsigned transaction described by this PSBT. | xref:PartiallySignedTransaction/GetVersion.adoc[`GetVersion`] | Return the PSBT version of this transaction. | xref:PartiallySignedTransaction/Merge.adoc[`Merge`] | Merge psbt into this. The two psbts must have the same underlying CTransaction (i.e. the same actual Bitcoin transaction.) | xref:PartiallySignedTransaction/MergeGlobalXPubs.adoc[`MergeGlobalXPubs`] | Merge the global xpubs of psbt into this, keeping the existing origin for an xpub seen again with a different one, as the serialized records are keyed by xpub. | xref:PartiallySignedTransaction/Serialize.adoc[`Serialize`] | Serialize this transaction to a stream. | xref:PartiallySignedTransaction/Unserialize.adoc[`Unserialize`] | Deserialize this transaction from a stream. |=== == Data Members [cols="1,4"] |=== | Name| Description | xref:PartiallySignedTransaction/fallback_locktime.adoc[`fallback_locktime`] | The fallback locktime used when no input requires one (PSBTv2). | xref:PartiallySignedTransaction/inputs.adoc[`inputs`] | Per‐input PSBT data. | xref:PartiallySignedTransaction/m_proprietary.adoc[`m_proprietary`] | Proprietary global key‐value records. | xref:PartiallySignedTransaction/m_tx_modifiable.adoc[`m_tx_modifiable`] | Flags describing which parts of the transaction may still be modified. | xref:PartiallySignedTransaction/m_xpubs.adoc[`m_xpubs`] | Global extended public keys, mapping key origin to the set of extended keys sharing it. | xref:PartiallySignedTransaction/outputs.adoc[`outputs`] | Per‐output PSBT data. | xref:PartiallySignedTransaction/tx_version.adoc[`tx_version`] | The transaction version (PSBTv2). | xref:PartiallySignedTransaction/unknown.adoc[`unknown`] | Unknown global key‐value pairs preserved across round‐trips. |=== == Non-Member Functions [cols="1,4"] |=== | Name| Description | xref:CombinePSBTs.adoc[`CombinePSBTs`] | Combines PSBTs with the same underlying transaction, resulting in a single PSBT with all partial signatures from each input. | xref:CountPSBTUnsignedInputs.adoc[`CountPSBTUnsignedInputs`] | Counts the unsigned inputs of a PSBT. | xref:DecodeBase64PSBT.adoc[`DecodeBase64PSBT`] | Decode a base64‐encoded PSBT into a PartiallySignedTransaction. | xref:DecodeRawPSBT.adoc[`DecodeRawPSBT`] | Decode a raw binary PSBT into a PartiallySignedTransaction. | xref:FinalizeAndExtractPSBT.adoc[`FinalizeAndExtractPSBT`] | Finalizes a PSBT if possible, and extracts it to a CMutableTransaction if it could be finalized. | xref:FinalizePSBT.adoc[`FinalizePSBT`] | Finalizes a PSBT if possible, combining partial signatures. | xref:PSBTInputSignedAndVerified.adoc[`PSBTInputSignedAndVerified`] | Checks whether a PSBTInput is already signed by doing script verification using final fields. | xref:PrecomputePSBTData.adoc[`PrecomputePSBTData`] | Compute a PrecomputedTransactionData object from a psbt. | xref:RemoveUnnecessaryTransactions.adoc[`RemoveUnnecessaryTransactions`] | Reduces the size of the PSBT by dropping unnecessary `non_witness_utxos` (i.e. complete previous transactions) from a psbt when all inputs are segwit v1. | xref:node/AnalyzePSBT.adoc[`node::AnalyzePSBT`] | Provides helpful miscellaneous information about where a PSBT is in the signing workflow. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#