# Get Supported Chains

> Fetch supported chains from Zert's backend.

### `get`

Retrieves the list of supported chains.

**Parameters**

* None.

**Returns**

A Promise that resolves to `ChainsResponse`.

* `data.chains` (Chain\[]): List of chains.
* `meta.requestId` (string): Request identifier.
* `meta.timestamp` (string): Response timestamp.

Each **Chain** has: `id` (e.g. `eth-mainnet`) and `name`.

```typescript
import { RoutingEngineSDK } from 'routing-engine-sdk';

const sdk = new RoutingEngineSDK({
  api: { apiKey: 'your-api-key' },
});

try {
  const response = await sdk.chains.get();
  console.log(response.data.chains);
} catch (error) {
  console.error(error);
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.zert.com/routing-engine-sdk/get-supported-chains.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
