[#CombinePSBTs] = CombinePSBTs :mrdocs: Combines PSBTs with the same underlying transaction, resulting in a single PSBT with all partial signatures from each input. == Synopsis Declared in `<psbt.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[nodiscard]] std::optional<PartiallySignedTransaction> CombinePSBTs(std::vector<PartiallySignedTransaction> const& psbtxs); ---- == Return Value The combined PSBT or std::nullopt if the PSBTs cannot be combined [NOTE] ==== The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^]. ==== == Parameters [cols="1,4"] |=== | Name| Description | *psbtxs* [in] | the PSBTs to combine |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#