> ## Documentation Index
> Fetch the complete documentation index at: https://developers.avacloud.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Getting Started

### ChainKit SDK

The ChainKit SDK provides web3 application developers with multi-chain data related to Avalanche's primary network, Avalanche L1s, and Ethereum. With the Data API, you can easily build products that leverage real-time and historical transaction and transfer history, native and token balances, and various types of token metadata.

> [!NOTE]
>
> **Migration Notice**: This SDK was previously known as the AvaCloud SDK. We
> have made namespace changes and will discontinue the AvaCloud SDK in favor of
> the ChainKit SDK. For migration guidance and specific method updates, please
> refer to the individual method documentation.

![](https://mintcdn.com/avalabs-47ea3976/5tYvr4aERqS4CNLz/images/chainkit-SDK.jpg?fit=max\&auto=format\&n=5tYvr4aERqS4CNLz\&q=85\&s=5ef81daf70200912ac6c1b505021c921)

The SDK is currently available in TypeScript, with more languages coming soon. If you are interested in a language that is not listed, please reach out to us in the [#dev-tools](https://discord.com/channels/578992315641626624/1280920394236297257) channel in the [Avalanche Discord](https://discord.gg/avax).

> [card] ChainKit SDK TypeScript
>
> [https://www.npmjs.com/package/@avalanche-sdk/chainkit](https://www.npmjs.com/package/@avalanche-sdk/chainkit)

> [card] ChainKit SDK TypeScript
>
> [https://github.com/ava-labs/avalanche-sdk-typescript](https://github.com/ava-labs/avalanche-sdk-typescript)

### SDK Installation

```npm NPM theme={null}
npm add @avalanche-sdk/chainkit
```

```pnpm PNPM theme={null}
pnpm add @avalanche-sdk/chainkit
```

```bun Bun theme={null}
bun add @avalanche-sdk/chainkit
```

```yarn Yarn theme={null}
yarn add @avalanche-sdk/chainkit zod

# Note that Yarn does not install peer dependencies automatically. You will need

# to install zod as shown above.

```

### SDK Example Usage

```javascript theme={null}
import { Avalanche } from "@avalanche-sdk/chainkit";

const avalancheSDK = new Avalanche({
    apiKey: "<YOUR_API_KEY_HERE>",
    chainId: "43114",
    network: "mainnet",
});

async function run() {
    const result = await avalancheSDK.metrics.healthCheck();

    // Handle the result
    console.log(result);
}

run();

```

Refer to the code samples provided for each route to see examples of how to use them in the SDK. Explore routes here [Data API](https://developers.avacloud.io/data-api/health-check/get-the-health-of-the-service.md),
[Metrics API](https://developers.avacloud.io/metrics-api/health-check/get-the-health-of-the-service.md) & [Webhooks API](https://developers.avacloud.io/webhooks-api/webhooks/list-webhooks.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.