[#btck-Coin] = xref:btck.adoc[btck]::Coin :relfileprefix: ../ :mrdocs: Owning wrapper over a `btck_Coin`. == Synopsis Declared in `<kernel/bitcoinkernel_wrapper.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class Coin : public xref:btck/Handle-046.adoc[Handle<btck_Coin, btck_coin_copy, btck_coin_destroy>] , public xref:btck/CoinApi-06.adoc[CoinApi<Coin>] ---- == Base Classes [cols="1,4"] |=== | Name| Description | `xref:btck/Handle-046.adoc[Handle<btck_Coin, btck_coin_copy, btck_coin_destroy>]` | Owning RAII handle for a copyable C object of type `CType.` | `xref:btck/CoinApi-06.adoc[CoinApi<Coin>]` | CRTP mixin adding coin accessors shared by the view and owning types. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:btck/Coin/2constructor-07.adoc[`Coin`] [.small]#[constructor]# | Constructors | xref:btck/Coin/operator_assign-06.adoc[`operator=`] | Assignment operators | xref:btck/Coin/GetConfirmationHeight.adoc[`GetConfirmationHeight`] | Returns the height at which the coin was confirmed. | xref:btck/Coin/GetOutput.adoc[`GetOutput`] | Returns the transaction output backing the coin. | xref:btck/Coin/IsCoinbase.adoc[`IsCoinbase`] | Reports whether the coin originates from a coinbase transaction. | xref:btck/Coin/get-03.adoc[`get`] | Returns the owned C handle. |=== == Protected Data Members [cols="1,4"] |=== | Name| Description | xref:btck/Coin/m_ptr.adoc[`m_ptr`] | The owned C handle. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#