RPCConvertValues

Convert positional arguments to command-specific RPC representation

Synopsis

Declared in <rpc/client.h>

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

Return Value

The converted arguments as a JSON array.

Parameters

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