Skip to main content
Version: 11.x

Interface: Request<TMethod, TParams>

All requests/responses extends this shape

Extends

Type parameters

ParameterDefault
TMethod extends stringstring
TParamsunknown

Properties

id

optional id: RequestId

Source

packages/core/dist/rpc/envelopes.d.ts:20

Inherited from

BaseRequest.id


jsonrpc

optional jsonrpc: "2.0"

Source

packages/core/dist/rpc/envelopes.d.ts:21

Inherited from

BaseRequest.jsonrpc


method

method: TMethod

Source

packages/core/dist/rpc/envelopes.d.ts:24

Inherited from

BaseRequest.method


params

params: TParams

Source

packages/core/dist/rpc/envelopes.d.ts:27


Generated using TypeDoc and typedoc-plugin-markdown