AEX-9 token might be an important role in the ecosystem. Now we can deploy an AEX-9 token rapidly, just ONE-CLICK, but tracking the AEX-9 token balances is a problem for me.
There was a reliable way to track the accurate AEX-9 token balances without calling the contracts: reading the store data directly through contract’s store API. But with the increasing size of the store data, the reading time becomes very long, so the API was removed: https://github.com/aeternity/aeternity/pull/3115.
I tried two other ways to track the balances in real time:
- Tracking each AEX-9 related tx. It will not produce extra onchain data, but the reliability relies on the accuracy of the transactions record.
- Calling the balances() function. The result is reliable, but it will generate extra onchain data, the data size should be very big with high frequency callings of contracts.
Is there any other way to update the AEX-9 token balances accurately and frequently?