I am using the following API to get the circulating supply of Triplay token, but the result is not updated:
On http://dev.pywaves.org/assets/EizwzJUFzUxPRXi5yr94XSqAcpzHC2vFWuWFwoFpp1EU the Circulating value is updated, but not in JSON format.
Is an API to get such value (real-time updated) on JSON format there?
Thank you @deemru, but I am asking for the total amount of circulating supply as should appear directly by using: https://marketdata.wavesplatform.com/api/ticker/EizwzJUFzUxPRXi5yr94XSqAcpzHC2vFWuWFwoFpp1EU/Ft8X1v1LTa1ABafufpaCWyVj8KkaxUWE6xBhW6sNFJck
(see the value on “amountAssetCirculatingSupply” variable)
Your given link brings the token distribution. To use that, I must totalize the distribution, ignoring the amount on issuer address. So, it is necessary to know who is the issuer.
I find also useful substract the balance of the issuer to the total token issued.
yeah you need to subtract the issuer’s address from the total supply:
here you get the issuer and the quantity (current supply including burns)
get the balance of the issuer on that asset: