FinalizeAndExtractPSBT

Finalizes a PSBT if possible, and extracts it to a CMutableTransaction if it could be finalized.

Synopsis

Declared in <psbt.h>

bool
FinalizeAndExtractPSBT(
    PartiallySignedTransaction& psbtx,
    CMutableTransaction& result);

Return Value

True if we successfully extracted the transaction, false otherwise

Parameters

NameDescription
psbtx [in]PartiallySignedTransaction
result [out]CMutableTransaction representing the complete transaction, if successful