Skip to content

Get account total, available, reserved balance from indexer

Get account balance from indexer as primary source.

We should have this infos from the indexer:

  • total balance
  • available balance (without existential deposit and reserved amount)
  • reserved balance

If indexer is offline, get those infos from the Node as secondary source (it is slower because total balance requires a runtime call for each account).