TxIn

fun TxIn(    outPoint: OutPoint,     signatureScript: ByteArray,     sequence: Long)
fun TxIn(outPoint: OutPoint, sequence: Long)
fun TxIn(    outPoint: OutPoint,     signatureScript: List<ScriptElt>,     sequence: Long)


fun TxIn(    outPoint: OutPoint,     signatureScript: ByteVector,     sequence: Long,     witness: ScriptWitness = ScriptWitness.empty)

Parameters

outPoint

Previous output transaction reference

signatureScript

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).