Statistics
Get statistics on Vega
Responses
- 200
- default
A successful response.
application/json
Schema
Example (from schema)
Schema
statistics object
{
"statistics": {
"accountSubscriptions": 0,
"appVersion": "string",
"appVersionHash": "string",
"averageOrdersPerBlock": "string",
"averageTxBytes": "string",
"backlogLength": "string",
"blockDuration": "string",
"blockHash": "string",
"blockHeight": "string",
"candleSubscriptions": 0,
"chainId": "string",
"chainVersion": "string",
"currentTime": "string",
"epochExpiryTime": "string",
"epochSeq": "string",
"epochStartTime": "string",
"eventCount": "string",
"eventsPerSecond": "string",
"genesisTime": "string",
"marketDataSubscriptions": 0,
"marketDepthSubscriptions": 0,
"marketDepthUpdatesSubscriptions": 0,
"orderSubscriptions": 0,
"ordersPerSecond": "string",
"positionsSubscriptions": 0,
"status": "CHAIN_STATUS_UNSPECIFIED",
"totalAmendOrder": "string",
"totalCancelOrder": "string",
"totalCreateOrder": "string",
"totalMarkets": "string",
"totalOrders": "string",
"totalPeers": "string",
"totalTrades": "string",
"tradeSubscriptions": 0,
"tradesPerSecond": "string",
"txPerBlock": "string",
"uptime": "string",
"vegaTime": "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 /statistics
Request
Request
curl / cURL
curl -L -X GET 'https://n00.testnet.vega.rocks/statistics' \
-H 'Accept: application/json'
python / requests
curl -L -X GET 'https://n00.testnet.vega.rocks/statistics' \
-H 'Accept: application/json'
go / native
curl -L -X GET 'https://n00.testnet.vega.rocks/statistics' \
-H 'Accept: application/json'
nodejs / axios
curl -L -X GET 'https://n00.testnet.vega.rocks/statistics' \
-H 'Accept: application/json'