> ## 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.

# Config

> Chains, providers, and platform configuration.

## List supported chains

```
GET https://zap.dzap.io/v1/config/chains
```

Returns the canonical chain list — chain ID, name, native token, RPC URLs, contract addresses.

<ResponseField name="data" type="object">Map: `chainId` → chain config object.</ResponseField>

## List supported providers

```
GET https://zap.dzap.io/v1/config/providers
```

Returns DEXs and bridges DZap routes through, by chain.

<ResponseField name="data" type="object">Map: `chainId` → array of provider objects with `id`, `name`, `type` (dex/bridge), `logo`.</ResponseField>

### Examples

<RequestExample>
  ```bash chains theme={null}
  curl https://zap.dzap.io/v1/config/chains
  ```

  ```bash providers theme={null}
  curl https://zap.dzap.io/v1/config/providers
  ```
</RequestExample>

<Note>
  Always fetch chain + provider config at runtime — new chains and protocols land regularly. Don't hard-code them.
</Note>
