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

# useChains

> Hook to retrieve the list of chains supported by Orderly with a chain-ID lookup helper.

Receive the chains that are supported by Orderly.

* [Tech docs](/sdks/tech-doc/modules/orderly_network_hooks#usechains)

```typescript theme={null}
const [chains, { findByChainId }] = useChains();
```

The `findByChainId` function can be used to get the config of a particular chain by the chain id.

```typescript theme={null}
const [_, { findByChainId }] = useChains();

const chain = findByChainId(421613);
```
