Execute an RPC request and return its JSON‐RPC reply.

Synopsis

Declared in <rpc/server.h>

UniValue
JSONRPCExec(
    JSONRPCRequest const& jreq,
    bool catch_errors);

Return Value

The JSON‐RPC reply object.

Parameters

Name

Description

jreq

The parsed JSON‐RPC request to execute.

catch_errors

Whether to catch exceptions and encode them as errors.

Created with MrDocs