FinalizedNonWitnessInput

data class FinalizedNonWitnessInput(    val inputTx: Transaction,     val outputIndex: Int,     val scriptSig: List<ScriptElt>,     val ripemd160: Set<ByteVector>,     val sha256: Set<ByteVector>,     val hash160: Set<ByteVector>,     val hash256: Set<ByteVector>,     val unknown: List<DataEntry>) : Input.NonWitnessInput

A fully signed non-segwit input.

Constructors

Link copied to clipboard
fun FinalizedNonWitnessInput(    inputTx: Transaction,     outputIndex: Int,     scriptSig: List<ScriptElt>,     ripemd160: Set<ByteVector>,     sha256: Set<ByteVector>,     hash160: Set<ByteVector>,     hash256: Set<ByteVector>,     unknown: List<DataEntry>)

Properties

Link copied to clipboard
val amount: Satoshi
Link copied to clipboard
open override val derivationPaths: Map<PublicKey, KeyPathWithMaster>

Derivation paths used for the signatures.

Link copied to clipboard
open override val hash160: Set<ByteVector>

Hash160 preimages (e.g. for miniscript hash challenges).

Link copied to clipboard
open override val hash256: Set<ByteVector>

Hash256 preimages (e.g. for miniscript hash challenges).

Link copied to clipboard
open override val inputTx: Transaction
Link copied to clipboard
open override val nonWitnessUtxo: Transaction?

Non-witness utxo, used when spending non-segwit outputs (may also be included when spending segwit outputs).

Link copied to clipboard
open override val outputIndex: Int
Link copied to clipboard
open override val partialSigs: Map<PublicKey, ByteVector>

Signatures as would be pushed to the stack from a scriptSig or witness.

Link copied to clipboard
open override val redeemScript: List<ScriptElt>? = null

Redeem script for this input (when using p2sh).

Link copied to clipboard
open override val ripemd160: Set<ByteVector>

RipeMD160 preimages (e.g. for miniscript hash challenges).

Link copied to clipboard
open override val scriptSig: List<ScriptElt>

Fully constructed scriptSig with signatures and any other scripts necessary for the input to pass validation.

Link copied to clipboard
open override val scriptWitness: ScriptWitness? = null

Fully constructed scriptWitness with signatures and any other scripts necessary for the input to pass validation.

Link copied to clipboard
open override val sha256: Set<ByteVector>

Sha256 preimages (e.g. for miniscript hash challenges).

Link copied to clipboard
open override val sighashType: Int? = null

Sighash type to be used when producing signatures for this output.

Link copied to clipboard
open override val unknown: List<DataEntry>

(optional) Unknown global entries.

Link copied to clipboard
open override val witnessScript: List<ScriptElt>? = null

Witness script for this input (when using p2wsh).

Link copied to clipboard
open override val witnessUtxo: TxOut? = null

Witness utxo, used when spending segwit outputs.