Interface JsonRpcRequest<TParams>Experimental

interface JsonRpcRequest<TParams> {
    id: string | number;
    jsonrpc: "2.0";
    method: string;
    params?: TParams;
}

Type Parameters

  • TParams = unknown

Properties

id: string | number
jsonrpc
method: string
params?: TParams