Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IRpcResponse<TResult>

Type parameters

  • TResult = unknown

Hierarchy

Index

Properties

Properties

Optional error

error: undefined | IRpcError

This member is REQUIRED on error. This member MUST NOT exist if there was no error triggered during invocation.

Optional id

id: undefined | null | string | number

This member is REQUIRED. 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, it MUST be Null.

jsonrpc

jsonrpc: "2.0"

The string specifying the version of the JSON-RPC protocol. MUST be exactly "2.0".

Optional result

result: undefined | 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.

Generated using TypeDoc