Skip to main content

Interface: RpcResponseCommon

Hierarchy

Properties

id

id: null | string | number

An identifier established by the Client that MUST contain a String, Number, or NULL value if included. It MUST be the same as the value of the id member in the Request Object. If there was an error in detecting the id in the Request object (e.g. Parse error/Invalid Request) it MUST be Null.

Defined in

packages/core/src/JSONRPC/types.ts:98


jsonrpc

jsonrpc: "2.0"

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

Defined in

packages/core/src/JSONRPC/types.ts:88