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

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

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class TransactionOutput
    : public xref:btck/Handle-046.adoc[Handle&lt;btck&lowbar;TransactionOutput, btck&lowbar;transaction&lowbar;output&lowbar;copy, btck&lowbar;transaction&lowbar;output&lowbar;destroy&gt;]
    , public xref:btck/TransactionOutputApi-04.adoc[TransactionOutputApi&lt;TransactionOutput&gt;]
----

== Base Classes

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

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:btck/TransactionOutput/2constructor-07f.adoc[`TransactionOutput`]         [.small]#[constructor]#
| Constructors
| xref:btck/TransactionOutput/operator_assign-03.adoc[`operator&equals;`] 
| Assignment operators
| xref:btck/TransactionOutput/Amount.adoc[`Amount`] 
| Returns the output value&period;
| xref:btck/TransactionOutput/GetScriptPubkey.adoc[`GetScriptPubkey`] 
| Returns the output&apos;s locking script&period;
| xref:btck/TransactionOutput/get-0e.adoc[`get`] 
| Returns the owned C handle&period;
|===


== Protected Data Members

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



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