Skip to main content
Version: 11.x

Type Alias: RpcNotification

RpcNotification = object

Defined in: src/channel/transport/ws.ts:25

A frame the node pushes without being asked: it carries a method and no id.

The transport does not interpret it. It is the subscription channel, on the other side of on('notification', …), that knows what params.subscription_id refers to.

Properties

jsonrpc

jsonrpc: "2.0"

Defined in: src/channel/transport/ws.ts:26


method

method: string

Defined in: src/channel/transport/ws.ts:27


params

params: Record<string, unknown>

Defined in: src/channel/transport/ws.ts:28