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

Report whether an output is locked against spending&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f94fde04da8), requires&lowbar;capability(0x7f95061a7ae8), requires&lowbar;capability(0x7f94f2b785f8), requires&lowbar;capability(0x7f94f0cf7288), requires&lowbar;capability(0x7f94fee39c78)&rsqb;&rsqb;
bool
IsLockedCoin(xref:COutPoint.adoc[COutPoint] const& output) const;
----

== Return Value

true if the output is locked&period;

== Parameters

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


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