Skip to content

How to query for all Contract events? #1400

Answered by ricmoo
mikevercoelen asked this question in Q&A
Discussion options

You must be logged in to vote

You should be able to use use your contract object with the wildcard event:

const events = await contract.queryFilter("*", fromBlock, toBlock)

Let me know if that doesn't work for your purposes...

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
5 replies
@chubidursel
Comment options

@ricmoo
Comment options

@chubidursel
Comment options

@forvicky
Comment options

@zemse
Comment options

zemse Apr 25, 2023
Collaborator

Answer selected by ricmoo
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants
Converted from issue

This discussion was converted from issue #1395 on March 25, 2021 06:15.