Statistics
Statistics about the node
type Statistics {
blockHeight: String!
blockHash: String!
backlogLength: String!
totalPeers: String!
genesisTime: Timestamp!
currentTime: Timestamp!
upTime: String!
vegaTime: Timestamp!
status: String!
txPerBlock: String!
averageTxBytes: String!
averageOrdersPerBlock: String!
tradesPerSecond: String!
ordersPerSecond: String!
totalMarkets: String!
totalAmendOrder: String!
totalCancelOrder: String!
totalCreateOrder: String!
totalOrders: String!
totalTrades: String!
eventCount: String!
eventsPerSecond: String!
appVersionHash: String!
appVersion: String!
chainVersion: String!
blockDuration: String!
chainId: ID!
}
Fields
Statistics.blockHeight
● String!
non-null scalar
Current block number
Statistics.blockHash
● String!
non-null scalar
Current block hash
Statistics.backlogLength
● String!
non-null scalar
Number of items in the backlog
Statistics.totalPeers
● String!
non-null scalar
Total number of peers on the Vega network
Statistics.genesisTime
● Timestamp!
non-null scalar
RFC3339Nano genesis time of the chain
Statistics.currentTime
● Timestamp!
non-null scalar
RFC3339Nano current time (real)
Statistics.upTime
● String!
non-null scalar
RFC3339Nano uptime of the node
Statistics.vegaTime
● Timestamp!
non-null scalar
RFC3339Nano current time of the chain (decided through consensus)
Statistics.status
● String!
non-null scalar
Status of the Vega application connection with the chain
Statistics.txPerBlock
● String!
non-null scalar
Number of transaction processed per block
Statistics.averageTxBytes
● String!
non-null scalar
Average size of the transactions
Statistics.averageOrdersPerBlock
● String!
non-null scalar
Average number of orders added per blocks
Statistics.tradesPerSecond
● String!
non-null scalar
Number of the trades per seconds
Statistics.ordersPerSecond
● String!
non-null scalar
Number of orders per seconds
Statistics.totalMarkets
● String!
non-null scalar
Total number of markets
Statistics.totalAmendOrder
● String!
non-null scalar
Total number of amended orders
Statistics.totalCancelOrder
● String!
non-null scalar
Total number of cancelled orders
Statistics.totalCreateOrder
● String!
non-null scalar
Total number of orders created
Statistics.totalOrders
● String!
non-null scalar
Total number of orders
Statistics.totalTrades
● String!
non-null scalar
Total number of trades
Statistics.eventCount
● String!
non-null scalar
Total number of events on the last block
Statistics.eventsPerSecond
● String!
non-null scalar
The number of events per second on the last block
Statistics.appVersionHash
● String!
non-null scalar
Version commit hash of the Vega node
Statistics.appVersion
● String!
non-null scalar
Version of the Vega node (semver)
Statistics.chainVersion
● String!
non-null scalar
Version of the chain (semver)
Statistics.blockDuration
● String!
non-null scalar
Duration of the last block, in nanoseconds
Statistics.chainId
● ID!
non-null scalar
Current chain ID
Returned by
statistics
query