@statechannels/client-api-schema > JsonRpcNotification

JsonRpcNotification interface

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Specifies notification headers as per JSON-RPC 2.0 Specification


export interface JsonRpcNotification<NotificationName extends string, NotificationParams extends object>


Note one difference to the JSON-RPC spec is that notifications originate from the wallet (i.e. the Server, not the Client).


jsonrpc'2.0'(BETA) Spec version
methodNotificationName(BETA) Generic type of the Notification name
paramsNotificationParams(BETA) Generic type of the Notification parameters
Last updated on by geoknee