How do I scan through beginning blocks to the latest block in search of some events

I have a requirement to scan through blocks from the beginning (or atleast a year back blocks) and find events related to my NFT.

If I have to use GetEventsForHeightRange, what should I use for start_range?

appreciate your help/inputs on this.

Querying events can be a heavy task. I would recommend using event indexing services such as Graffle

I’m not entirely sure what the start_range would be a year ago from but it may be useful to check out the Past Sporks Info page on our docs and find the block height from a spork from a year back :slight_smile: