---
title: "GetChains returns a list of chains (enabled only by default, or all if all=true)"
method: GET
path: "/blockchain/v1/chains"
tags: ["BlockchainQueryService"]
---

# GetChains returns a list of chains (enabled only by default, or all if all=true)

`GET /blockchain/v1/chains`

Use GetChainByID instead when only one chain's details are needed

## Query parameters

- `all` boolean

## Response `200`

A successful response.

- ChainsGetChainsResponse
  - `chains` V1Chain[], required
    - `chainId` string, required
    - `confirmationDepth` integer, required
    - `contracts` object, required
    - `enabled` boolean, required
    - `feeAddress` string
    - `feeBps` integer
    - `id` integer, required
    - `logo` string, required
    - `name` string, required
    - `testnet` boolean, required
    - `type` string, required

## Other responses

- `default` — An unexpected error response. `details[0]` is always an AppError, see #/components/schemas/AppError

---

[API](https://skmtc.net/kiiglobal/apis/kiichain-pay-backend.md) · [All operations](https://skmtc.net/kiiglobal/apis/kiichain-pay-backend/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kiiglobal/kiichain-pay-backend/versions/8951249f5b63/schema)
