Granola-Team / mina-indexer

The Mina Indexer is a re-imagined version of the software collectively called the "Mina archive node."
Apache License 2.0
19 stars 10 forks source link

Calculate total circulating supply and expose via HTTP endpoint #496

Closed trevorbernard closed 5 months ago

trevorbernard commented 8 months ago

Use time-locked / vesting schedule info (from #876) and then subtract the aggregated current_minimum_balances (for timed accounts) from Total (theoretical maximum) Currency.

Expose this total circulating supply via either REST or GraphQL.

robinbb commented 5 months ago

Needed for circulating supply calculation, I think.

jhult commented 5 months ago

Docs: