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

Non&hyphen;owning view over a `btck&lowbar;TransactionSpentOutputs`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class TransactionSpentOutputsView
    : public xref:btck/View-041.adoc[View&lt;btck&lowbar;TransactionSpentOutputs&gt;]
    , public xref:btck/TransactionSpentOutputsApi-0d.adoc[TransactionSpentOutputsApi&lt;TransactionSpentOutputsView&gt;]
----

== Base Classes

[cols="1,4"]
|===
| Name| Description
| `xref:btck/View-041.adoc[View&lt;btck&lowbar;TransactionSpentOutputs&gt;]`
| Non&hyphen;owning view over a const C handle of type `CType&period;`
| `xref:btck/TransactionSpentOutputsApi-0d.adoc[TransactionSpentOutputsApi&lt;TransactionSpentOutputsView&gt;]`
| CRTP mixin adding accessors over the coins spent by one transaction&period;
|===

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:btck/TransactionSpentOutputsView/2constructor.adoc[`TransactionSpentOutputsView`]         [.small]#[constructor]#
| Constructs a view over `ptr&period;`
| xref:btck/TransactionSpentOutputsView/Coins-02.adoc[`Coins`] 
| 
| xref:btck/TransactionSpentOutputsView/Count.adoc[`Count`] 
| Returns the number of spent outputs&period;
| xref:btck/TransactionSpentOutputsView/GetCoin.adoc[`GetCoin`] 
| Returns a single spent coin by index&period;
| xref:btck/TransactionSpentOutputsView/get.adoc[`get`] 
| Returns the borrowed C handle&period;
|===


== Protected Data Members

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



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