finalizePsbt
Finalize a PSBT, i.e., for each input determine if sufficient data is available to pass validation and construct the respective scriptSig
or scriptWitness
. Please refer to BIP174, and BIP371 for further information.
Returns true
if the PSBT could be finalized, and false
otherwise.
The `SignOptions` can be used to tweak the behavior of the finalizer.