/v2/chains/:chain-hash/health
GEThttps://api.drand.sh/v2/chains/:chain-hash/health
Retrieves the health status of the specified chain, including the current and expected round numbers.
Request
Path Parameters
chain-hash stringrequired
Possible values: Value must match regular expression ^[0-9a-fA-F]{64}$
The hexadecimal hash identifying the chain.
Example: 8990e7a9aaed2ffed73dbd7092123d6f289930540d7651336225dc172e51b2ce
Responses
- 200
- 503
Health status
- application/json
- Schema
- Example (auto)
Schema
currentinteger
The current round number
Example:
367
expectedinteger
The expected round number
Example:
368
{
"current": 367,
"expected": 368
}
Service unavailable
- application/json
- Schema
- Example (auto)
Schema
errorstring
Example:
service unavailable
{
"error": "service unavailable"
}
- curl
- go
- rust
- python
- nodejs
- CURL
curl -L 'https://api.drand.sh/v2/chains/:chain-hash/health' \
-H 'Accept: application/json'
ResponseClear