Skip to main content

Interface: RpcResponseSuccess<TResult>

Type parameters

NameType
TResultunknown

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.

Inherited from

RpcResponseCommon.id

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".

Inherited from

RpcResponseCommon.jsonrpc

Defined in

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


result

result: TResult

This member is REQUIRED on success. This member MUST NOT exist if there was an error invoking the method. The value of this member is determined by the method invoked on the Server.

Defined in

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