HelpExampleCli

Format a bitcoin-cli example invocation with positional arguments.

Synopsis

Declared in <rpc/util.h>

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

Return Value

The example command line.

Parameters

NameDescription
methodnameThe RPC method name.
argsThe positional arguments as a single string.