A nodejs endpoint that returns the current GIV token circulating and total supply. The lambda function has two variations to meet the CoinGecko and CoinMarketCap circulating supply criteria.
- CoinGecko's GIV supply API.
- CoinMarketCap's GIV Circulating supply API.
- CoinMarketCap's GIV Total supply API.
docker compose -f docker-compose-local.yml build --no-cache
docker compose -f docker-compose-local.yml up -d --build
This will create the below endpoints as per the provider criteria
curl "http://localhost:3000/token-supply"
Circulating:
curl "http://localhost:3000/giv-supply-cmc?q=circulating"
Total:
curl http://localhost:3000/giv-supply-cmc?q=totalcoins