-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Subscribe to events without contract #295
Comments
This differs from #150 which would return all events from the blocks and thus probably use too much resources |
It will be common to have apps needing to listen to many different contracts, or to many different events. So the engine could allow both:
It is better to allow these external apps to subscribe to many different sources on the same connection than to have them create many different separate connections. The later would use more resources. The limits can be:
|
Currently it is only possible to subscribe to events informing a single contract address for filter
But in some cases we are interested in many contracts, or not any specifically, but in some type of event
For these cases we could allow the subscription to events using only the event name as the filter
This allows the subscription to a type of event, regardless of which contract will emit it
This can be applied to
ListEvents
andListEventStream
The text was updated successfully, but these errors were encountered: