[#btck-CoinView] = xref:btck.adoc[btck]::CoinView :relfileprefix: ../ :mrdocs: Non‐owning view over a `btck_Coin`, an unspent transaction output entry. == Synopsis Declared in `<kernel/bitcoinkernel_wrapper.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class CoinView : public xref:btck/View-041.adoc[View<btck_Coin>] , public xref:btck/CoinApi-06.adoc[CoinApi<CoinView>] ---- == Base Classes [cols="1,4"] |=== | Name| Description | `xref:btck/View-041.adoc[View<btck_Coin>]` | Non‐owning view over a const C handle of type `CType.` | `xref:btck/CoinApi-06.adoc[CoinApi<CoinView>]` | CRTP mixin adding coin accessors shared by the view and owning types. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:btck/CoinView/2constructor.adoc[`CoinView`] [.small]#[constructor]# | Constructs a view over `ptr.` | xref:btck/CoinView/GetConfirmationHeight.adoc[`GetConfirmationHeight`] | Returns the height at which the coin was confirmed. | xref:btck/CoinView/GetOutput.adoc[`GetOutput`] | Returns the transaction output backing the coin. | xref:btck/CoinView/IsCoinbase.adoc[`IsCoinbase`] | Reports whether the coin originates from a coinbase transaction. | xref:btck/CoinView/get.adoc[`get`] | Returns the borrowed C handle. |=== == Protected Data Members [cols="1,4"] |=== | Name| Description | xref:btck/CoinView/m_ptr.adoc[`m_ptr`] | The borrowed C handle. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#