Describes an event related to a subscription. This interface encapsulates the method invoked and the parameters associated with the subscription event.

interface SubscriptionEvent {
    method: string;
    params: SubscriptionParams;
}

Properties

Properties

method: string

The name of the method associated with the subscription event.

params: SubscriptionParams

The parameters associated with the subscription event. This includes all necessary details such as the subscription identifier and the result.