Hello
I noticed that coingecko is reporting same 62,899,200 supply for few months now they use this API
https://api-grin.blockscan.com/v1/api?module=stats&action=grinsupply
but this website is not active anymore
I went to block explorers, none of them have an API to report the supply.
Is there anyone here can give me an API or develop one and integrate to grin explorer.
5 Likes
tromp
August 21, 2021, 7:27pm
2
Any block explorer should report height, so just use
supply = (height+1) * 60 Grin.
5 Likes
Thanks
I was looking for an API link to send to coin gecko
I contacted MCM mike he told me that his devs working on it, and it will ready soonツ
3 Likes
Hey @Mactavish , we are testing API endpoint on test server, hopefully it will be available soon.
5 Likes
hendi
August 31, 2021, 9:54am
5
There is a basic API at https://grinexplorer.net/api.json that returns the current height and the total emission.
2 Likes
ah nooo…YES cool, but we also providing an API soon, just didn’t have time to publish the PR yet from @stakervali
4 Likes
Hi @Mactavish , our api endpoint for blockheight is published, you can reach it at https://grinnode.live:8080/api/blockstats , enjoy
3 Likes
Thank you, @stakerV @mcm-mike and @hendi for you time
2 Likes