Returns the total supply of the native token (e.g., ETH, xDai)
cURL
curl --request GET \ --url 'https://eth.blockscout.com/api/?apikey=&module=stats&action=ethsupply'
{ "status": "1", "message": "OK", "result": "<string>" }
Optional API key for increased rate limits.
Without API key:
With API key:
Usage: Add apikey=YOUR_KEY to any request query string.
apikey=YOUR_KEY
Module name (must be 'stats')
stats
ethsupply
Total supply retrieved successfully
Status code (1 = OK)
1
Response message
"OK"
Total supply in wei
Was this page helpful?