More specific, I am looking to fetch the circulating supply of native cardano tokens with the Blockfrost API. I know how to get the total supply, but I was wondering if there is any possibility to get the current circulating supply with a similar approach.
-
1You can find out which addresses are used to store the amount not yet in circulation and subtract it from the total. I think there isn't much more behind the concept of "in circulation" than not being in the reserve wallet, vesting contract etc.– DaveStriderCommented Sep 22, 2022 at 21:10
-
Yeah, that could be a solution. It's a nasty one for sure, but I think I'll give it a try. Thank you for your response.– MaldyCommented Sep 23, 2022 at 13:38
Add a comment
|
1 Answer
Given the native assets cannot be staked, they are all in circulation.
Just fetch it with /assets
and see the quantity
field.
-
Nah, the problem is essentially that this would include tokens that are in some sort of treasury, and since these tokens are not really in circulation yet, it doesn't make sense to use them for calculations.– MaldyCommented Dec 4, 2022 at 11:29
-
Tokens cannot be locked in the treasury (which uses account-based mode), only ADA can be. Commented Dec 5, 2022 at 10:26