[#wallet-EnsureWalletIsUnlocked] = xref:wallet.adoc[wallet]::EnsureWalletIsUnlocked :relfileprefix: ../ :mrdocs: Throws an RPC error if the wallet is locked. == Synopsis Declared in `<wallet/rpc/util.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void EnsureWalletIsUnlocked(xref:wallet/CWallet.adoc[CWallet] const& wallet); ---- == Parameters [cols="1,4"] |=== | Name| Description | *wallet* | The wallet whose unlocked state is required. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#