Files
brk/modules/brk-client/docs/interfaces/Health.md
2026-05-08 11:56:30 +02:00

130 lines
3.4 KiB
Markdown

[**brk-client**](../README.md)
***
[brk-client](../globals.md) / Health
# Interface: Health
Defined in: [Developer/brk/modules/brk-client/index.js:582](https://github.com/bitcoinresearchkit/brk/blob/25b226856307047c5c10a075ec57219ca9987c38/modules/brk-client/index.js#L582)
## Properties
### blocksBehind
> **blocksBehind**: `number`
Defined in: [Developer/brk/modules/brk-client/index.js:592](https://github.com/bitcoinresearchkit/brk/blob/25b226856307047c5c10a075ec57219ca9987c38/modules/brk-client/index.js#L592)
Number of blocks behind the tip
***
### computedHeight
> **computedHeight**: `number`
Defined in: [Developer/brk/modules/brk-client/index.js:590](https://github.com/bitcoinresearchkit/brk/blob/25b226856307047c5c10a075ec57219ca9987c38/modules/brk-client/index.js#L590)
Height of the last computed block (series)
***
### indexedHeight
> **indexedHeight**: `number`
Defined in: [Developer/brk/modules/brk-client/index.js:589](https://github.com/bitcoinresearchkit/brk/blob/25b226856307047c5c10a075ec57219ca9987c38/modules/brk-client/index.js#L589)
Height of the last indexed block
***
### lastIndexedAt
> **lastIndexedAt**: `string`
Defined in: [Developer/brk/modules/brk-client/index.js:593](https://github.com/bitcoinresearchkit/brk/blob/25b226856307047c5c10a075ec57219ca9987c38/modules/brk-client/index.js#L593)
Human-readable timestamp of the last indexed block (ISO 8601)
***
### lastIndexedAtUnix
> **lastIndexedAtUnix**: `number`
Defined in: [Developer/brk/modules/brk-client/index.js:594](https://github.com/bitcoinresearchkit/brk/blob/25b226856307047c5c10a075ec57219ca9987c38/modules/brk-client/index.js#L594)
Unix timestamp of the last indexed block
***
### service
> **service**: `string`
Defined in: [Developer/brk/modules/brk-client/index.js:584](https://github.com/bitcoinresearchkit/brk/blob/25b226856307047c5c10a075ec57219ca9987c38/modules/brk-client/index.js#L584)
Service name
***
### startedAt
> **startedAt**: `string`
Defined in: [Developer/brk/modules/brk-client/index.js:587](https://github.com/bitcoinresearchkit/brk/blob/25b226856307047c5c10a075ec57219ca9987c38/modules/brk-client/index.js#L587)
Server start time (ISO 8601)
***
### status
> **status**: `string`
Defined in: [Developer/brk/modules/brk-client/index.js:583](https://github.com/bitcoinresearchkit/brk/blob/25b226856307047c5c10a075ec57219ca9987c38/modules/brk-client/index.js#L583)
Health status ("healthy")
***
### timestamp
> **timestamp**: `string`
Defined in: [Developer/brk/modules/brk-client/index.js:586](https://github.com/bitcoinresearchkit/brk/blob/25b226856307047c5c10a075ec57219ca9987c38/modules/brk-client/index.js#L586)
Current server time (ISO 8601)
***
### tipHeight
> **tipHeight**: `number`
Defined in: [Developer/brk/modules/brk-client/index.js:591](https://github.com/bitcoinresearchkit/brk/blob/25b226856307047c5c10a075ec57219ca9987c38/modules/brk-client/index.js#L591)
Height of the chain tip (from Bitcoin node)
***
### uptimeSeconds
> **uptimeSeconds**: `number`
Defined in: [Developer/brk/modules/brk-client/index.js:588](https://github.com/bitcoinresearchkit/brk/blob/25b226856307047c5c10a075ec57219ca9987c38/modules/brk-client/index.js#L588)
Uptime in seconds
***
### version
> **version**: `string`
Defined in: [Developer/brk/modules/brk-client/index.js:585](https://github.com/bitcoinresearchkit/brk/blob/25b226856307047c5c10a075ec57219ca9987c38/modules/brk-client/index.js#L585)
Server version