[#CTxIn-2constructor-05] = xref:CTxIn.adoc[CTxIn]::CTxIn :relfileprefix: ../ :mrdocs: Constructs an input spending a given outpoint. == Synopsis Declared in `<primitives/transaction.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit CTxIn( xref:COutPoint.adoc[COutPoint] prevoutIn, xref:CScript.adoc[CScript] scriptSigIn = CScript(), uint32_t nSequenceIn = SEQUENCE_FINAL); ---- == Parameters [cols="1,4"] |=== | Name| Description | *prevoutIn* | The previous output being spent. | *scriptSigIn* | The signature script satisfying the output. | *nSequenceIn* | The sequence number for the input. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#