Get network limits
Get the current network limits, for example: is bootstrapping finished, are proposals enabled etc.
Responses
- 200
- 500
- default
A successful response.
application/json
Schema
Example (from schema)
Schema
limits object
{
"limits": {
"canProposeAsset": true,
"canProposeMarket": true,
"genesisLoaded": true,
"proposeAssetEnabled": true,
"proposeAssetEnabledFrom": "string",
"proposeMarketEnabled": true,
"proposeMarketEnabledFrom": "string"
}
}
An internal server error
application/json
Schema
Example (from schema)
Schema
code int32
details object[]
message string
{
"code": 0,
"details": [
{
"@type": "string"
}
],
"message": "string"
}
An unexpected error response.
application/json
Schema
Example (from schema)
Schema
code int32
details object[]
message string
{
"code": 0,
"details": [
{
"@type": "string"
}
],
"message": "string"
}
GET /api/v2/network/limits
Request
Request
curl / cURL
curl -L -X GET 'https://vega-mainnet-data.commodum.io/api/v2/network/limits' \
-H 'Accept: application/json'
python / requests
curl -L -X GET 'https://vega-mainnet-data.commodum.io/api/v2/network/limits' \
-H 'Accept: application/json'
go / native
curl -L -X GET 'https://vega-mainnet-data.commodum.io/api/v2/network/limits' \
-H 'Accept: application/json'
nodejs / axios
curl -L -X GET 'https://vega-mainnet-data.commodum.io/api/v2/network/limits' \
-H 'Accept: application/json'