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

Unlock the wallet using the given passphrase&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
Unlock(xref:SecureString.adoc[SecureString] const& strWalletPassphrase);
----

== Return Value

true if the passphrase was correct and the wallet is unlocked&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *strWalletPassphrase*
| The wallet passphrase to unlock with&period;
|===


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