v1

latestOpenAPI 3.0.12026-07-177294143.2 KB
corecontracts

Get the chain info

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

get/v1/chains/{chainID}/core/governance/chaininfo

Path parameters

chainIDstring string required

ChainID (Bech32)

Query parameters

blockstring string

Block index or trie root

Response

The chain info

chainIDstring string required

ChainID (Bech32-encoded).

chainOwnerIdstring string required

The chain owner address (Bech32-encoded).

publicURLstring string required

The fully qualified public url leading to the chains metadata

Example response

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