Combines PSBTs with the same underlying transaction, resulting in a single PSBT with all partial signatures from each input.
Declared in <psbt.h>
[[nodiscard]]
std::optional<PartiallySignedTransaction>
CombinePSBTs(std::vector<PartiallySignedTransaction> const& psbtxs);
The combined PSBT or std::nullopt if the PSBTs cannot be combined
The return value should not be discarded.
| Name | Description |
|---|---|
| psbtxs [in] | the PSBTs to combine |