Is it possible to estimate growth of the JSON API query store as the ledger itself grows?

Close, there are two cases to consider:

  1. The first query where nothing is in the database. In this case, we fetch the ACS from the ledger, we store it in the database and we record the offset of that ACS.

  2. On following queries, we then fetch the offset from the database, query the transaction stream between this offset and current ledger end and use that to add or remove contracts based on Create and Archive events.

1 Like