chains

Get a list of all chains

Changed on
get/v1/chains

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /v1/chains
  • Auth
    API key in header Authorization

Response

A list of all available chains

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

    • 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

    • breaking

      removed the required property / from the response with the status