---
title: "Get all available chain contracts"
method: GET
path: "/v1/chains/{chainID}/contracts"
tags: ["chains"]
---

# Get all available chain contracts

`GET /v1/chains/{chainID}/contracts`

## Path parameters

- `chainID` string, string, required

## Response `200`

A list of all available contracts

- ContractInfoResponse[]
  - `description` string, string, required — The description of the contract.
  - `hName` string, string, required — The id (HName as Hex)) of the contract.
  - `name` string, string, required — The name of the contract.
  - `programHash` string, string, required — The hash of the contract. (Hex encoded)

## 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/:chainID/contracts/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/c2a1a897ea13/schema)
