chains

Get information about a specific chain

Changed on
get/v1/chains/{chainID}

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /v1/chains/{chainID}
  • Auth
    none declared

Path parameters

chainIDstring string required

ChainID (Bech32)

Query parameters

blockstring string

Block index or trie root

Response

Information about a specific chain

chainIDstring string required

ChainID (Bech32-encoded)

chainOwnerIdstring string required

The chain owner address (Bech32-encoded)

evmChainIdinteger required

The EVM chain ID

isActiveboolean required

Whether or not the chain is active

publicURLstring string required

The fully qualified public url leading to the chains metadata

Example response

{
  "chainOwnerId": "tst1qzjsxstc0k850jevpqu08tj0suql9u7hvh3vq3eaaem3gkx7r646zqpdn6e",
  "metadata": {
    "website": "website",
    "evmWebSocketURL": "evmWebSocketURL",
    "name": "name",
    "description": "description",
    "evmJsonRpcURL": "evmJsonRpcURL"
  },
  "gasLimits": {
    "maxGasExternalViewCall": 6,
    "minGasPerRequest": 5,
    "maxGasPerBlock": 1,
    "maxGasPerRequest": 5
  },
  "chainID": "tst1prcw42l5u4g24tqg628d7qzh7n6m4k4ktvgayh44dyt68y930qzy2lr054v",
  "evmChainId": 1074,
  "publicURL": "publicURL",
  "gasFeePolicy": {
    "gasPerToken": {
      "a": 1,
      "b": 100
    },
    "validatorFeeShare": 0,
    "evmGasRatio": {
      "a": 1,
      "b": 1
    }
  },
  "isActive": true
}

Changes

    • info

      added the new optional query request parameter block

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status