finalize Non Witness Input
fun finalizeNonWitnessInput(outPoint: OutPoint, scriptSig: List<ScriptElt>): Either<UpdateFailure, Psbt>
Content copied to clipboard
Implements the PSBT finalizer role: finalizes a given non-segwit input. This will clear all fields from the input except the utxo, scriptSig and unknown entries.
Return
a psbt with the given input finalized.
Parameters
out Point
input that should be finalized.
script Sig
signature script.
fun finalizeNonWitnessInput(inputIndex: Int, scriptSig: List<ScriptElt>): Either<UpdateFailure, Psbt>
Content copied to clipboard
Implements the PSBT finalizer role: finalizes a given non-segwit input. This will clear all fields from the input except the utxo, scriptSig and unknown entries.
Return
a psbt with the given input finalized.
Parameters
input Index
index of the input that should be finalized.
script Sig
signature script.