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

Name

Description

strMethod

The RPC method name whose argument types govern the conversion.

strParams

The positional argument strings to convert.

Created with MrDocs