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