Hyperlinkv0.8.0-beta.28

Node.status

Node.status.statusconstsrc/NodeStatus.ts:36
Struct<{
  readonly up: Boolean
  readonly status: Literals<readonly ["ok", "degraded"]>
  readonly startedAt: DateTimeUtc
  readonly uptimeMillis: Number
  readonly resourceCount: Number
  readonly resources: $Array<
    Struct<{
      readonly key: String
      readonly kind: String
      readonly ready: Boolean
      readonly detail: optionalKey<String>
      readonly contractHash: optionalKey<String>
    }>
  >
}>

Live node status: { up, status, startedAt, uptimeMillis, resourceCount, resources }. The status rollup is degraded (and /health returns 503) when any resource is not ready.

wire schemas
Source src/NodeStatus.ts:361 lines
export const status = nodeStatus;