[#wallet-GetWalletForJSONRPCRequest] = xref:wallet.adoc[wallet]::GetWalletForJSONRPCRequest :relfileprefix: ../ :mrdocs: Figures out what wallet, if any, to use for a JSONRPCRequest. == Synopsis Declared in `<wallet/rpc/util.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::shared_ptr<CWallet> GetWalletForJSONRPCRequest(xref:JSONRPCRequest.adoc[JSONRPCRequest] const& request); ---- == Return Value nullptr if no wallet should be used, or a pointer to the CWallet == Parameters [cols="1,4"] |=== | Name| Description | *request* [in] | JSONRPCRequest that wishes to access a wallet |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#