If the requested service is unknown, the call will fail with status NOT_FOUND.
GET
/blockscout/health
Query Parameters
service
string
optional
query
Responses
200
A successful response.
application/jsonstatus
string
- SERVICE_UNKNOWN: Used only by the Watch method.
Enum:
UNKNOWN, SERVING, NOT_SERVING, SERVICE_UNKNOWN
default
An unexpected error response.
curl -X GET 'https://data-api.b3.fun//blockscout/health'
const response = await fetch('https://data-api.b3.fun//blockscout/health', {
method: 'GET'
});
const data = await response.json();
console.log(data);
import requests
response = requests.get('https://data-api.b3.fun//blockscout/health')
print(response.json())
200
Response
{
"status": "UNKNOWN"
}
GET
/blockscout/health