updateNonWitnessOutput

fun updateNonWitnessOutput(    outputIndex: Int,     redeemScript: List<ScriptElt>? = null,     derivationPaths: Map<PublicKey, KeyPathWithMaster> = mapOf()): Either<UpdateFailure, Psbt>

Add details for a non-segwit output.

Return

psbt with the matching output updated.

Parameters

outputIndex

index of the output in the psbt.

redeemScript

redeem script if known and applicable (when using p2sh).

derivationPaths

derivation paths for keys used by this output.