Get a list of all chains
GET/v1/chains
Get a list of all chains
Request
Responses
- 200
- 401
A list of all available chains
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
chainID stringrequired
ChainID (Bech32-encoded)
chainOwnerId stringrequired
The chain owner address (Bech32-encoded)
evmChainId int32required
Possible values: >= 1
The EVM chain ID
gasFeePolicy FeePolicyrequired
evmGasRatio Ratio32required
a int32required
b int32required
gasPerToken Ratio32required
a int32required
b int32required
validatorFeeShare int32required
The validator fee share.
gasLimits Limitsrequired
maxGasExternalViewCall int64required
The maximum gas per external view call
maxGasPerBlock int64required
The maximum gas per block
maxGasPerRequest int64required
The maximum gas per request
minGasPerRequest int64required
The minimum gas per request
isActive booleanrequired
Whether or not the chain is active
metadata PublicChainMetadatarequired
description stringrequired
The description of the chain.
evmJsonRpcURL stringrequired
The EVM json rpc url
evmWebSocketURL stringrequired
The EVM websocket url)
name stringrequired
The name of the chain
website stringrequired
The official website of the chain.
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": 5,
"minGasPerRequest": 7,
"maxGasPerBlock": 5,
"maxGasPerRequest": 2
},
"chainID": "tst1prcw42l5u4g24tqg628d7qzh7n6m4k4ktvgayh44dyt68y930qzy2lr054v",
"evmChainId": 1074,
"publicURL": "publicURL",
"gasFeePolicy": {
"gasPerToken": {
"a": 0,
"b": 0
},
"validatorFeeShare": 1,
"evmGasRatio": {
"a": 1,
"b": 1
}
},
"isActive": true
}
]
Unauthorized (Wrong permissions, missing token)
- application/json
- Schema
- Example (from schema)
Schema
error stringrequired
missingPermission stringrequired
{
"error": "string",
"missingPermission": "string"
}
Loading...