querying these data directly from the chain RPC node is feasible, however, Indexing historical data of balances rather than querying it directly from the chain RPC has several benefits, especially in terms of performance and efficiency.
Indexed data can be queried much faster than fetching data directly from the blockchain, which may require traversing multiple blocks
Querying indexed data reduces the load on the blockchain nodes, which can be resource-intensive.
You can perform complex queries on indexed data, such as filtering, aggregations, and joins, which might be difficult or slow when querying directly from the chain.
Related Issue: https://github.com/threefoldtech/tfchain_graphql/issues/187
querying these data directly from the chain RPC node is feasible, however, Indexing historical data of balances rather than querying it directly from the chain RPC has several benefits, especially in terms of performance and efficiency.