Get information about a specific chain
GET//v1/chains/:chainID
Get information about a specific chain
Request
Path Parameters
chainID stringrequired
ChainID (Bech32)
Query Parameters
block string
Block index or trie root
Responses
- 200
Information about a specific chain
- application/json
- Schema
- Example (from schema)
Schema
chainID stringrequired
ChainID (Bech32-encoded)
chainOwnerId stringrequired
The chain owner address (Bech32-encoded)
evmChainId int32required
Possible values: >= 1
The EVM chain ID
gasFeePolicy FeePolicyrequired
gasLimits Limitsrequired
isActive booleanrequired
Whether or not the chain is active
metadata PublicChainMetadatarequired
publicURL stringrequired
The fully qualified public url leading to the chains metadata
{
"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
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X GET '/v1/chains/:chainID' \
-H 'Accept: application/json'
ResponseClear