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

# Chain Helpers

> getAllSupportedChains, getChainConfig, getDZapContractAddress.

```ts theme={null}
// All supported chains, keyed by chainId
const chains = await dzap.getAllSupportedChains();

// Same data, but cached across calls (static method, no args)
const cachedChains = await DZapClient.getChainConfig();

// Router/DCA/zap contract address for one chain + service (async)
const router = await dzap.getDZapContractAddress({ chainId: 8453, service: 'trade' });
```

Use these instead of hard-coding addresses or chain IDs, both shift over time.
