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.
Path parameters
ChainID (Bech32)
Query parameters
Block index or trie root
Response
The chain info
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
}
}
}Changes
Changed in 9 of the 50 revisions of this API.6311
- ○
added the new optional
queryrequest parameterblocknew-optional-request-parameter
- ○
- ▲
removed the required property
from the response with the statusresponse-required-property-removed
- ▲
removed the required property
from the response with the statusresponse-required-property-removed
- ▲
removed the required property
from the response with the statusresponse-required-property-removed
- ●
removed the optional property
from the response with the statusresponse-optional-property-removed
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
added the required property
to the response with the statusresponse-required-property-added
- ▲
- ●
removed the optional property
from the response with the statusresponse-optional-property-removed
This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ○
added the optional property
to the response with the statusresponse-optional-property-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
- ▲
removed the required property
from the response with the statusresponse-required-property-removed
- ▲
removed the required property
from the response with the statusresponse-required-property-removed
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
added the required property
to the response with the statusresponse-required-property-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ●
removed the optional property
from the response with the statusresponse-optional-property-removed
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
added the required property
to the response with the statusresponse-required-property-added
- ●
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 20 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲