Format a JSON‐RPC example request with positional arguments.

Synopsis

Declared in <rpc/util.h>

std::string
HelpExampleRpc(
    std::string const& methodname,
    std::string const& args);

Return Value

The example request as a curl command.

Parameters

Name

Description

methodname

The RPC method name.

args

The positional arguments as a single string.

Created with MrDocs