24 lines
420 B
GraphQL
24 lines
420 B
GraphQL
query NodeCheck {
|
|
# statistics needed to get the most recent node in terms of block height
|
|
statistics {
|
|
chainId
|
|
blockHeight
|
|
vegaTime
|
|
}
|
|
# net params needed to filter out the nodes that are not suitable
|
|
networkParametersConnection {
|
|
edges {
|
|
node {
|
|
key
|
|
value
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
subscription NodeCheckTimeUpdate {
|
|
busEvents(types: TimeUpdate, batchSize: 1) {
|
|
id
|
|
}
|
|
}
|