We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Event#watch() is removed. contract.someEvent().watch() is no longer supported.
How should I listen to events? I can call getEventsByBlockNumber once in a while, but I'd like to be able to respond to events right away
The text was updated successfully, but these errors were encountered:
Just call getEventsByBlockNumber every second (or 3 seconds, make the time you want). This is what watch method used to do.
Sorry, something went wrong.
What was the reason for the removal of the .watch() method? I believe it would be more convenient to have a default method to watch contracts.
.watch()
No branches or pull requests
How should I listen to events? I can call getEventsByBlockNumber once in a while, but I'd like to be able to respond to events right away
The text was updated successfully, but these errors were encountered: