[#btck-TransactionSpentOutputsApi-0d]
= xref:btck.adoc[btck]::TransactionSpentOutputsApi
:relfileprefix: ../
:mrdocs:

CRTP mixin adding accessors over the coins spent by one transaction&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 TransactionSpentOutputsApi;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:btck/TransactionSpentOutputsApi-0d/Coins-08.adoc[`Coins`] 
| Returns a range over all coins spent by the transaction&period;
| xref:btck/TransactionSpentOutputsApi-0d/Count.adoc[`Count`] 
| Returns the number of spent outputs&period;
| xref:btck/TransactionSpentOutputsApi-0d/GetCoin.adoc[`GetCoin`] 
| Returns a single spent coin by index&period;
|===


== Friends

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

== Derived Classes

[cols="1,4"]
|===
| Name| Description
| xref:btck/TransactionSpentOutputs.adoc[`TransactionSpentOutputs`] 
| Owning wrapper over a `btck&lowbar;TransactionSpentOutputs`, the coins spent by one transaction&period;
| xref:btck/TransactionSpentOutputsView.adoc[`TransactionSpentOutputsView`] 
| Non&hyphen;owning view over a `btck&lowbar;TransactionSpentOutputs`&period;
|===


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