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

# chains: Chains record

> Chains record: 3 exports of the chains module of @eco-incorp/sauce, including getChain, getAllChainIds, chains.

Two registries ship: `CANONICAL_CHAINS` (40 chains, 39 EVM plus Solana) read by `requireChain`, `resolveChain` and the slug and id lookups, and the `chains` record read by `getChain`, which carries 33 of the EVM chains. The same exports are available from the root and from `@eco-incorp/sauce/chains`.

This page covers `sdk/dist/chains/index.d.ts`.

<Note>
  Generated from the type declarations shipped in `@eco-incorp/sauce` 0.99.4. Each entry shows the package authors' JSDoc and declaration for this SDK version. For runtime compatibility and deployed addresses, see [architecture and deployments](/programmable-transactions/sauce/architecture-and-deployments).
</Note>

### `getChain`

*Function* · `sdk/dist/chains/index.d.ts`

```typescript theme={null}
export declare function getChain(chainId: number): Chain | undefined;
```

### `getAllChainIds`

*Function* · `sdk/dist/chains/index.d.ts`

```typescript theme={null}
export declare function getAllChainIds(): number[];
```

### `chains`

*Variable* · `sdk/dist/chains/index.d.ts`

All supported EVM chains

```typescript theme={null}
chains: Record<number, Chain>
```
