Indexing on-chain data and creating state snapshots

We are attempting to utilize the Sentio indexer to create hourly and daily snapshots of on-chain data, including user positions and market states.

However, we are currently facing a challenge as Sentio’s onTimeInterval method is not supported on the Fuel network. This functionality is available for other blockchain platforms such as Ethereum and Aptos. The primary reason for this limitation is that Fuel does not currently support calling view functions on smart contracts at specific historical blocks.

Posting this for visibility.

1 Like

Hi @martines3000, is this onTimeInterval method required for Sentio’s support?

As you mentioned, we currently don’t support archive calls on our client. While it’s on our list of features, it’s relatively low priority. We generally encourage developers reconstruct state by indexing receipts in place of direct historical queries.

Thanks for your help on this issue. It was opened primarily to increase visibility, as requested by @Nazeeh21.

From my understanding, this issue is being discussed internally by the Fuel and OpenBlock teams, as the ability to take hourly snapshots of user and market state is a crucial requirement for implementing the points program.

I’ve tried a few workaround approaches, but they were not accepted by the OpenBlock team.