[#btck-CoinApi-06] = xref:btck.adoc[btck]::CoinApi :relfileprefix: ../ :mrdocs: CRTP mixin adding coin accessors shared by the view and owning types. == Synopsis Declared in `<kernel/bitcoinkernel_wrapper.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename Derived> class CoinApi; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:btck/CoinApi-06/GetConfirmationHeight.adoc[`GetConfirmationHeight`] | Returns the height at which the coin was confirmed. | xref:btck/CoinApi-06/GetOutput.adoc[`GetOutput`] | Returns the transaction output backing the coin. | xref:btck/CoinApi-06/IsCoinbase.adoc[`IsCoinbase`] | Reports whether the coin originates from a coinbase transaction. |=== == Friends [cols="1,4"] |=== | Name| Description | `Derived` | |=== == Derived Classes [cols="1,4"] |=== | Name| Description | xref:btck/Coin.adoc[`Coin`] | Owning wrapper over a `btck_Coin`. | xref:btck/CoinView.adoc[`CoinView`] | Non‐owning view over a `btck_Coin`, an unspent transaction output entry. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#