Skip to main content
GET
/
v1
/
health-check
JavaScript
import { Avalanche } from "@avalanche-sdk/chainkit";

const avalanche = new Avalanche();

async function run() {
  const result = await avalanche.data.healthCheck();

  console.log(result);
}

run();
{
  "status": "error",
  "info": {},
  "error": {},
  "details": {}
}

Authorizations

x-glacier-api-key
string
header
required

Api keys provide higher access to rate limits. To obtain an api key, sign up for an account at https://avacloud.io/.

Response

The health of the service

status
enum<string>
Available options:
error,
ok,
shutting_down
info
object
error
object
details
object