-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add contracts supply endpoint #21
Labels
Comments
Add option to exclude treasury contract: contracts/supply?token_id=<token_id>&include_treasury=false Document it likely is only relevant for ERG |
|
Keep it simple and exclude coinbase and treasury addresses at all times. |
Done in 79e5bfd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
API:
Returns total ERG or token supply in contract addresses.
For ERG, this could be interpreted as TVL, although not all contracts are DeFi related.
Tokens base supply is often held in a contract (SigUSD bank contract for instance), so results are less straight forward to interpret. In some cases,
addresses/{address}/balance
can be used to deduce the base supply (again, SigSUD is a good example here).The text was updated successfully, but these errors were encountered: