Interface JsonRpcResponseNotification<T>

interface JsonRpcResponseNotification<T> {
    jsonrpc: "2.0";
    method: string;
    params: {
        result?: T;
        subscription: string | number;
    } & JsonRpcResponseError<any>;
}

Type Parameters

  • T = any

Properties

Properties

jsonrpc: "2.0"
method: string
params: {
    result?: T;
    subscription: string | number;
} & JsonRpcResponseError<any>