Statistics
GET/statistics
Get statistics on Vega
Responses
- 200
- default
A successful response.
- application/json
- Schema
- Example (from schema)
Schema
- CHAIN_STATUS_UNSPECIFIED: Default value, always invalid
- CHAIN_STATUS_DISCONNECTED: Blockchain is disconnected
- CHAIN_STATUS_REPLAYING: Blockchain is replaying historic transactions
- CHAIN_STATUS_CONNECTED: Blockchain is connected and receiving transactions
statistics object
accountSubscriptions int64
appVersion Version of the Vega node software (string)
appVersionHash Version hash of the Vega node software (string)
averageOrdersPerBlock uint64
averageTxBytes uint64
backlogLength uint64
blockDuration uint64
blockHash Current block hash (string)
blockHeight uint64
candleSubscriptions int64
chainId Unique ID for the underlying Vega blockchain (string)
chainVersion Version of the underlying Vega blockchain (string)
currentTime Current system date and time formatted in ISO-8601 datetime format with nanosecond precision (string)
epochExpiryTime Epoch expected end time (string)
epochSeq uint64
epochStartTime Epoch start time (string)
eventCount uint64
eventsPerSecond uint64
genesisTime Genesis block date and time formatted in ISO-8601 datetime format with nanosecond precision (string)
marketDataSubscriptions int64
marketDepthSubscriptions int64
marketDepthUpdatesSubscriptions int64
orderSubscriptions int64
ordersPerSecond uint64
positionsSubscriptions int64
status Status of the connection to the Vega blockchain (string)
Possible values: [CHAIN_STATUS_UNSPECIFIED
, CHAIN_STATUS_DISCONNECTED
, CHAIN_STATUS_REPLAYING
, CHAIN_STATUS_CONNECTED
]
Default value: CHAIN_STATUS_UNSPECIFIED
totalAmendOrder uint64
totalCancelOrder uint64
totalCreateOrder uint64
totalMarkets uint64
totalOrders uint64
totalPeers uint64
totalTrades uint64
tradeSubscriptions int64
tradesPerSecond uint64
txPerBlock uint64
uptime Total uptime for this node formatted in ISO-8601 datetime format with nanosecond precision (string)
vegaTime Current Vega date and time formatted in ISO-8601 datetime format with nanosecond precision (string)
{
"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
- Array [
- ]
code int32
details object[]
@type string
message string
{
"code": 0,
"details": [
{
"@type": "string"
}
],
"message": "string"
}
Loading...