JSON-RPC 2.0 request, only used in bitcoin-cli
Declared in <rpc/request.h>
UniValue
JSONRPCRequestObj(
std::string const& strMethod,
UniValue const& params,
UniValue const& id);
A JSON object representing the request.
| Name | Description |
|---|---|
| strMethod | The RPC method name. |
| params | The method parameters. |
| id | The request id echoed back in the reply. |