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

CRTP mixin adding transaction&hyphen;output accessors shared by the view and owning types&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename Derived&gt;
class TransactionOutputApi;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:btck/TransactionOutputApi-04/Amount.adoc[`Amount`] 
| Returns the output value&period;
| xref:btck/TransactionOutputApi-04/GetScriptPubkey.adoc[`GetScriptPubkey`] 
| Returns the output&apos;s locking script&period;
|===


== Friends

[cols="1,4"]
|===
| Name| Description
| `Derived`
| 
|===

== Derived Classes

[cols="1,4"]
|===
| Name| Description
| xref:btck/TransactionOutput.adoc[`TransactionOutput`] 
| Owning wrapper over a `btck&lowbar;TransactionOutput`&period;
| xref:btck/TransactionOutputView.adoc[`TransactionOutputView`] 
| Non&hyphen;owning view over a `btck&lowbar;TransactionOutput`&period;
|===


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