Stats
Blockchain Stats
GET https://api.helium.io/v1/stats
Retrieve basic stats for the blockchain such as total token supply, and average block and election times over a number of intervals.
- Request
- Response
No Parameters
200: OK
{
"data": {
"block_times": {
"last_day": {
"avg": 70.45921696574226,
"stddev": 68.83988201467606
},
"last_hour": {
"avg": 66.16666666666667,
"stddev": 4.492131485499826
},
"last_month": {
"avg": 58.57145439754135,
"stddev": 54.42394685110655
},
"last_week": {
"avg": 66.77767965559113,
"stddev": 78.40328359329104
}
},
"challenge_counts": {
"active": 3226,
"last_day": 33084
},
"counts": {
"validators": 2145,
"ouis": 13,
"hotspots_dataonly": 64,
"blocks": 644074,
"challenges": 14189829,
"cities": 2458,
"consensus_groups": 16884,
"countries": 55,
"hotspots": 14402,
"transactions": 37813658
},
"election_times": {
"last_day": {
"avg": 2981.2413793103447,
"stddev": 1693.238289178722
},
"last_hour": {
"avg": 1997.0,
"stddev": null
},
"last_month": {
"avg": 2247.3307291666665,
"stddev": 821.206067231938
},
"last_week": {
"avg": 2608.6293103448274,
"stddev": 1048.715520504349
}
},
"token_supply": 66042860.58752121
}
}
Token Supply
GET https://api.helium.io/v1/stats/token_supply
Returns the circulating token supply in either JSON or raw form.
- Request
- Response
Query Parameters
param | Type | Note |
---|---|---|
format (optional) | string | specify raw to get a raw number, otherwise returns json |
200: OK
RAW form of the result when called with /v1/stats/token_supply?format=raw
49450470.73544278