Tx In
data class TxIn( val outPoint: OutPoint, val signatureScript: ByteVector, val sequence: Long, val witness: ScriptWitness = ScriptWitness.empty) : BtcSerializable<TxIn>
Content copied to clipboard
Transaction input
Parameters
out Point
Previous output transaction reference
signature Script
Signature script which should match the public key script of the output that we want to spend
sequence
Transaction version as defined by the sender. Intended for "replacement" of transactions when information is updated before inclusion into a block. Repurposed for OP_CSV (see BIPs 68 & 112)
witness
Transaction witness (i.e. what is in sig script for standard transactions).
Constructors
Link copied to clipboard
fun TxIn( outPoint: OutPoint, signatureScript: ByteVector, sequence: Long, witness: ScriptWitness = ScriptWitness.empty)
Content copied to clipboard