Balanced docs
Access community resources, and learn how to retrieve data from the Balanced smart contracts to track Balanced's usage.
You can also track key statistics manually using the Balanced smart contracts.

For everything else, view the Read Contract section on each page...

Find 22. getTotalCollateral
  • Divide the amount by 1,000,000,000,000,000,000
  • Multiply by the current USD value of sICX

Find 16. getNonzeroPositionCount

Find 44. totalSupply and query 1

Find 23. getPoolTotal and query 2, cx88fd7df7ddff82f7cc735c871dc519838cb235bb

Find 23. getPoolTotal and query 3, cx88fd7df7ddff82f7cc735c871dc519838cb235bb
  • Divide each result by 1,000,000,000,000,000,000
  • Multiply ICX by current USD price
  • Add together

Find 43. totalDexAddresses and query:
  • 1 for sICX/ICX liquidity providers
  • 2 for sICX/bnUSD liquidity providers
  • 3 for BALN/bnUSD liquidity providers

Find 3. getBalances
  • Convert the string for each asset here, then divide the result by 1,000,000,000,000,000,000
  • To get the USD value, multiply sICX, BALN, and ICX by their bnUSD or USDT price, then add together
Last modified 5mo ago
Copy link
On this page
Total Balanced Dollars
Total value locked in loans (sICX)
Unique borrowers
Total value locked in DEX
Unique liquidity providers
Total fees