update Non Witness Output
fun updateNonWitnessOutput( outputIndex: Int, redeemScript: List<ScriptElt>? = null, derivationPaths: Map<PublicKey, KeyPathWithMaster> = mapOf()): Either<UpdateFailure, Psbt>
Content copied to clipboard
Add details for a non-segwit output.
Return
psbt with the matching output updated.
Parameters
output Index
index of the output in the psbt.
redeem Script
redeem script if known and applicable (when using p2sh).
derivation Paths
derivation paths for keys used by this output.