RPCConvertNamedValues

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

NameDescription
strMethodThe RPC method name whose argument types govern the conversion.
strParamsThe name=value argument strings to convert.