Skip to main content
Version: mainnet (v0.77)

Statistics

GET 

/statistics

Get statistics on Vega

Request

Responses

A successful response.

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]

    Default value: CHAIN_STATUS_UNSPECIFIED

    • 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
    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
Loading...