Extracts the wallet name encoded in a JSON‐RPC request endpoint, if any.

Synopsis

Declared in <wallet/rpc/util.h>

std::optional<std::string>
GetWalletNameFromJSONRPCRequest(JSONRPCRequest const& request);

Return Value

The wallet name, or an empty optional if none is present.

Parameters

Name

Description

request

The JSON‐RPC request to inspect.

Created with MrDocs