Lookup account state on previous block
Dvisacker opened this issue · comments
Problem
Hi, i'm trying to fetch historical contract/account balances. Currently when calling Indexer.LookupAccountByID(address).Round(round).Do(context.Background())
, I get the following error which was
discussed in a few closed issues.
{"message":"failed while searching for account: error while rewinding account: FPOU46NBKTWUZCNMNQNXRWNW3SMPOOK4ZJIN5WSILCWP662ANJLTXVRUKA[26548774,22]: rewinding past txn type appl is not currently supported"}
Urgency
I think this is a really important feature that is currently missing and that should be prioritized. Our team is trying to build dashboards and apis with historical data but this is currently impossible since the indexer can only return current chain state when querying apps/contracts.
There are currently no plans to extend the rewind functionality with app support.
Related issue: #62