---
title: "Get the chain info"
method: GET
path: "/v1/chains/{chainID}/core/governance/chaininfo"
tags: ["corecontracts"]
---

# Get the chain info

`GET /v1/chains/{chainID}/core/governance/chaininfo`

If you are using the common API functions, you most likely rather want to use '/v1/chains/:chainID' to get information about a chain.

## Path parameters

- `chainID` string, string, required

## Query parameters

- `block` string, string

## Response `200`

The chain info

- GovChainInfoResponse
  - `chainID` string, string, required — ChainID (Bech32-encoded).
  - `chainOwnerId` string, string, required — The chain owner address (Bech32-encoded).
  - `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
  - `metadata` GovPublicChainMetadata, required
    - `description` string, string, required — The description of the chain.
    - `evmJsonRpcURL` string, string, required — The EVM json rpc url
    - `evmWebSocketURL` string, string, required — The EVM websocket url)
    - `name` string, string, required — The name of the chain
    - `website` string, string, required — The official website of the chain.
  - `publicURL` string, string, required — The fully qualified public url leading to the chains metadata

## Other responses

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

## Changes

- **2023-07-07** `992c016b4b67` — 1 info
  - added the new optional `query` request parameter `block`
- **2023-05-30** `c4ebd9663bfe` — 3 breaking, 1 warning, 2 info
  - removed the required property `evmJsonRpcUrl` from the response with the `200` status
  - removed the required property `evmWebSocketUrl` from the response with the `200` status
  - removed the required property `publicUrl` from the response with the `200` status
  - removed the optional property `blockKeepAmount` from the response with the `200` status
  - …2 more
- **2023-05-25** `e4bc0f91c082` — 1 warning
  - removed the optional property `blockKeepAmount` from the response with the `200` status
- **2023-05-25** `c2a1a897ea13` — 1 info
  - added the optional property `blockKeepAmount` to the response with the `200` status
- **2023-05-23** `6a6e7d8f3f61` — 1 info
  - added the optional property `blockKeepAmount` to the response with the `200` status

[Full history](https://skmtc.dev/iotaledger/apis/wasp-api/changes/v1/chains/:chainID/core/governance/chaininfo/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/994a6c93b890/schema)
