enviodev / hyperindex

📖 Blazing-fast multi-chain indexer
https://envio.dev
78 stars 6 forks source link

Feature: Time travel queries #336

Open Simon0x opened 1 week ago

Simon0x commented 1 week ago

This is a concept that is coming from TheGraph and very useful in my opinion. This way we would not need to define extra schema entities to keep track of historic times. Like saving them hourly or so. Rather we can specify a block number in the query and get the state at that moment.

https://thegraph.com/docs/en/querying/graphql-api/#time-travel-queries

For reference: