---
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).
  - `evmChainId` integer, required — The EVM chain ID
  - `evmJsonRpcUrl` string, string, required — The EVM json rpc url
  - `evmWebSocketUrl` string, string, required — The EVM websocket url
  - `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.
  - `publicUrl` string, string, required — The fully qualified public url leading to the chains metadata
  - `standard` string, string, required — The chain info standard

## Other responses

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

## Changes

- **2023-05-17** `55ceaf76774c` — 2 breaking, 3 info
  - removed the required property `items/metadataEvmJsonRpcUrl` from the response with the `200` status
  - removed the required property `items/metadataEvmWebSocketUrl` from the response with the `200` status
  - added the required property `items/evmJsonRpcUrl` to the response with the `200` status
  - added the required property `items/evmWebSocketUrl` to the response with the `200` status
  - …1 more
- **2023-05-16** `8ff59d94a1ae` — 1 warning, 3 info
  - removed the optional property `items/customMetadata` from the response with the `200` status
  - added the required property `items/metadataEvmJsonRpcUrl` to the response with the `200` status
  - added the required property `items/metadataEvmWebSocketUrl` to the response with the `200` status
  - added the required property `items/publicUrl` to the response with the `200` status
- **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/fe9e5f85a30a/schema)
