HelpExampleRpcNamed

Format a JSON-RPC example request with named arguments.

Synopsis

Declared in <rpc/util.h>

std::string
HelpExampleRpcNamed(
    std::string const& methodname,
    RPCArgList const& args);

Return Value

The example request as a curl command.

Parameters

NameDescription
methodnameThe RPC method name.
argsThe named arguments.