interface JsonRpcResponse {
    error?: {
        code: number;
        data?: any;
        message: string;
    };
    id: number;
    jsonrpc: "2.0";
    method: string;
    result?: any;
}

Properties

error?: {
    code: number;
    data?: any;
    message: string;
}
id: number
jsonrpc
method: string
result?: any