Type alias JRPC_RESPONSE

JRPC_RESPONSE: {
    error?: JRPC_ERROR;
    id?: string | number | null;
    jsonrpc: string;
    result?: object | unknown[];
}

Represents a JSON-RPC response object.

Property

The JSON-RPC protocol version.

Property

The result of the method call (if any).

Property

The error (if any).

Property

The ID of the request (if any).

Type declaration

  • Optional error?: JRPC_ERROR
  • Optional id?: string | number | null
  • jsonrpc: string
  • Optional result?: object | unknown[]

Generated using TypeDoc