[#btck-Coin-2constructor-07]
= xref:btck.adoc[btck]::xref:btck/Coin.adoc[Coin]::Coin
:relfileprefix: ../../
:mrdocs:

Constructors

== Synopses

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

Constructs an owning copy from a view&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:btck/Coin/2constructor-08.adoc[Coin](xref:btck/CoinView.adoc[CoinView] const& view);
----

[.small]#xref:btck/Coin/2constructor-08.adoc[_» more&period;&period;&period;_]#

Takes ownership of an existing C coin&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:btck/Coin/2constructor-0d.adoc[Coin](xref:btck_Coin-0f.adoc[btck&lowbar;Coin]* coin);
----

[.small]#xref:btck/Coin/2constructor-0d.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *view*
| The view to copy&period;
| *coin*
| The C handle to own&period;
|===


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