[#wallet-CWallet-Unlock] = xref:wallet.adoc[wallet]::xref:wallet/CWallet.adoc[CWallet]::Unlock :relfileprefix: ../../ :mrdocs: Unlock the wallet using the given passphrase. == Synopsis Declared in `<wallet/wallet.h>` [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. == Parameters [cols="1,4"] |=== | Name| Description | *strWalletPassphrase* | The wallet passphrase to unlock with. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#