Construct a method description without an implementation handler.

Synopsis

Declared in <rpc/util.h>

RPCMethod(
    std::string name,
    std::string description,
    std::vector<RPCArg> args,
    RPCResults results,
    RPCExamples examples);

Parameters

Name

Description

name

The method name.

description

Human‐readable description of the method.

args

The method's arguments.

results

The method's possible results.

examples

Example invocations for the help text.

Created with MrDocs