Interface ResponseMessage

A response message.

interface ResponseMessage {
    error?: ResponseErrorLiteral<any>;
    id: null | string | number;
    jsonrpc: string;
    result?: null | string | number | boolean | object | any[];
}

Hierarchy (View Summary)

Properties

error?: ResponseErrorLiteral<any>

The error object in case a request fails.

id: null | string | number

The request id.

jsonrpc: string
result?: null | string | number | boolean | object | any[]

The result of a request. This member is REQUIRED on success. This member MUST NOT exist if there was an error invoking the method.