[#btck-TransactionInput]
= xref:btck.adoc[btck]::TransactionInput
:relfileprefix: ../
:mrdocs:

Owning wrapper over a `btck&lowbar;TransactionInput`&period;

== Synopsis

Declared in `&lt;kernel&sol;bitcoinkernel&lowbar;wrapper&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class TransactionInput
    : public xref:btck/Handle-046.adoc[Handle&lt;btck&lowbar;TransactionInput, btck&lowbar;transaction&lowbar;input&lowbar;copy, btck&lowbar;transaction&lowbar;input&lowbar;destroy&gt;]
    , public xref:btck/TransactionInputApi-0b.adoc[TransactionInputApi&lt;TransactionInput&gt;]
----

== Base Classes

[cols="1,4"]
|===
| Name| Description
| `xref:btck/Handle-046.adoc[Handle&lt;btck&lowbar;TransactionInput, btck&lowbar;transaction&lowbar;input&lowbar;copy, btck&lowbar;transaction&lowbar;input&lowbar;destroy&gt;]`
| Owning RAII handle for a copyable C object of type `CType&period;`
| `xref:btck/TransactionInputApi-0b.adoc[TransactionInputApi&lt;TransactionInput&gt;]`
| CRTP mixin adding transaction&hyphen;input accessors shared by the view and owning types&period;
|===

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:btck/TransactionInput/2constructor.adoc[`TransactionInput`]         [.small]#[constructor]#
| Constructs an owning copy from a view&period;
| xref:btck/TransactionInput/operator_assign-04.adoc[`operator&equals;`] 
| Assignment operators
| xref:btck/TransactionInput/GetScriptSig.adoc[`GetScriptSig`] 
| Returns the input&apos;s signature script&period;
| xref:btck/TransactionInput/GetSequence.adoc[`GetSequence`] 
| Returns the input&apos;s sequence number&period;
| xref:btck/TransactionInput/GetWitnessStack.adoc[`GetWitnessStack`] 
| Returns the input&apos;s witness stack&period;
| xref:btck/TransactionInput/OutPoint.adoc[`OutPoint`] 
| Returns the out&hyphen;point this input spends&period;
| xref:btck/TransactionInput/get-0d.adoc[`get`] 
| Returns the owned C handle&period;
|===


== Protected Data Members

[cols="1,4"]
|===
| Name| Description
| xref:btck/TransactionInput/m_ptr.adoc[`m&lowbar;ptr`] 
| The owned C handle&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
