[#wallet-GetWallet] = xref:wallet.adoc[wallet]::GetWallet :relfileprefix: ../ :mrdocs: Look up a loaded wallet by name. == Synopsis Declared in `<wallet/wallet.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::shared_ptr<CWallet> GetWallet( xref:wallet/WalletContext.adoc[WalletContext]& context, std::string const& name); ---- == Return Value The matching wallet, or nullptr if not loaded. == Parameters [cols="1,4"] |=== | Name| Description | *context* | The wallet context to query. | *name* | The wallet name to find. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#