Access to historical data / blocks

Hello community,

I’m working on indexing historical data for all events across the Flow blockchain. This is so that we can for instance later aggregate the events to compute balances for accounts.

From my understanding there are different endpoints for ranges of block heights, due to the sporks.
I could go ahead and use these different endpoints based on the block height I’m trying to fetch. However I see that there does not seem to be endpoints for before Candidate 4, which starts at block height 1065711.
Is there any way to access the blocks prior to this? From my understanding this data is relevant as some accounts active today have been active since then, and any historical activity reported for these accounts would be incomplete without access to the older blocks.

Alternatively, is there some other way to get historical data from the blockchain, such as a cloud bucket of block data exports or database to query?

Thank you

1 Like