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

## Query parameters

- `block` string, string

## Response `200`

A list of all available contracts

- ContractInfoResponse[]
  - `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)

---

[API](https://skmtc.net/iotaledger/apis/wasp-api.md) · [All operations](https://skmtc.net/iotaledger/apis/wasp-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/iotaledger/wasp-api/versions/994a6c93b890/schema)
