Type alias JSONRPCRequestNotification<T>

JSONRPCRequestNotification<T>: {
    jsonrpc: "2.0";
    method: string;
    params: T;
}

This is the JSON RPC notification object. this is used for a request that doesn't expect a response.

Type Parameters

Type declaration

  • jsonrpc: "2.0"

    A String specifying the version of the JSON-RPC protocol. MUST be exactly "2.0"

  • method: string

    A String containing the name of the method to be invoked. Method names that begin with the word rpc followed by a period character (U+002E or ASCII 46) are reserved for rpc-internal methods and extensions and MUST NOT be used for anything else.

  • params: T

    A Structured value that holds the parameter values to be used during the invocation of the method. This member MAY be omitted.

Generated using TypeDoc