---
title: "Get a list of all chains"
method: GET
path: "/v1/chains"
tags: ["chains"]
---

# Get a list of all chains

`GET /v1/chains`

## Response `200`

A list of all available chains

- ChainInfoResponse[]
  - `chainID` string, string, required — ChainID (Bech32-encoded).
  - `chainOwnerId` string, string, required — The chain owner address (Bech32-encoded).
  - `customMetadata` string, string — (base64) Optional extra metadata that is appended to the L1 AliasOutput
  - `evmChainId` integer, required — The EVM chain ID
  - `gasFeePolicy` FeePolicy, required
    - `evmGasRatio` Ratio32, required
      - `a` integer, required
      - `b` integer, required
    - `gasPerToken` Ratio32, required
      - `a` integer, required
      - `b` integer, required
    - `validatorFeeShare` integer, required — The validator fee share.
  - `gasLimits` Limits, required
    - `maxGasExternalViewCall` integer, required — The maximum gas per external view call
    - `maxGasPerBlock` integer, required — The maximum gas per block
    - `maxGasPerRequest` integer, required — The maximum gas per request
    - `minGasPerRequest` integer, required — The minimum gas per request
  - `isActive` boolean, required — Whether or not the chain is active.

## Other responses

- `401` — Unauthorized (Wrong permissions, missing token)

## Changes

- **2023-03-21** `5ffe1a3d7623` — 1 info
  - endpoint added
- **2023-02-13** `1041f915f260` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/iotaledger/apis/wasp-api/changes/v1/chains/get.md)

---

[API](https://skmtc.dev/iotaledger/apis/wasp-api.md) · [All operations](https://skmtc.dev/iotaledger/apis/wasp-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/iotaledger/wasp-api/revisions/5ffe1a3d7623/schema)
