import { Avalanche } from "@avalanche-sdk/chainkit";const avalanche = new Avalanche();async function run() { const result = await avalanche.metrics.healthCheck(); console.log(result);}run();
{ "info": {}, "error": {}, "details": {}}
Health Check
Get the health of the service
Check the health of the service.
GET
/
v2
/
health-check
JavaScript
import { Avalanche } from "@avalanche-sdk/chainkit";const avalanche = new Avalanche();async function run() { const result = await avalanche.metrics.healthCheck(); console.log(result);}run();