Tx In
fun TxIn( outPoint: OutPoint, signatureScript: ByteArray, sequence: Long)
Content copied to clipboard
fun TxIn( outPoint: OutPoint, signatureScript: List<ScriptElt>, sequence: Long)
Content copied to clipboard
fun TxIn( outPoint: OutPoint, signatureScript: ByteVector, sequence: Long, witness: ScriptWitness = ScriptWitness.empty)
Content copied to clipboard
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).