FinalizedInputWithoutUtxo

data class FinalizedInputWithoutUtxo(    val scriptWitness: ScriptWitness?,     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

A fully signed input without details about the utxo. Input finalizers should keep the utxo to allow transaction extractors to verify the final network serialized transaction, but it's not mandatory, so we may not have it available when parsing psbt inputs.

Constructors

Link copied to clipboard
fun FinalizedInputWithoutUtxo(    scriptWitness: ScriptWitness?,     scriptSig: List<ScriptElt>?,     ripemd160: Set<ByteVector>,     sha256: Set<ByteVector>,     hash160: Set<ByteVector>,     hash256: Set<ByteVector>,     unknown: List<DataEntry>)

Properties

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 nonWitnessUtxo: Transaction? = null

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

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?

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.