Convert named arguments to command‐specific RPC representation

Synopsis

Declared in <rpc/client.h>

UniValue
RPCConvertNamedValues(
    std::string const& strMethod,
    std::vector<std::string> const& strParams);

Return Value

The converted arguments as a JSON object.

Parameters

Name

Description

strMethod

The RPC method name whose argument types govern the conversion.

strParams

The name=value argument strings to convert.

Created with MrDocs