[#wallet-CWallet-UnlockCoin]
= xref:wallet.adoc[wallet]::xref:wallet/CWallet.adoc[CWallet]::UnlockCoin
:relfileprefix: ../../
:mrdocs:

Unlock a previously locked output&period;

== Synopsis

Declared in `&lt;wallet&sol;wallet&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f94fde04fe8), requires&lowbar;capability(0x7f95061a7d28), requires&lowbar;capability(0x7f94f2b78838), requires&lowbar;capability(0x7f94f0cf74c8), requires&lowbar;capability(0x7f94fee39eb8)&rsqb;&rsqb;
bool
UnlockCoin(xref:COutPoint.adoc[COutPoint] const& output);
----

== Return Value

true if the output was unlocked&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *output*
| The outpoint to unlock&period;
|===


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