events
Subscribe to incoming events from the IOTA network.
If no filter is provided, all events will be returned.
events(
filter: SubscriptionEventFilter
): EventSubscriptionPayload!
Arguments
events.filter ● SubscriptionEventFilter input
Type
EventSubscriptionPayload union
Possible responses from a subscription.
It could be one of the following:
- A successful payload from the subscription stream.
- A notice that the subscription has been lagged behind the network with the number of lost payloads.