Files
brk/modules/brk-client/docs/interfaces/Health.md
2026-05-17 22:19:58 +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:630](https://github.com/bitcoinresearchkit/brk/blob/1a706da13cc492eee123fc28fd358f02b56918b6/modules/brk-client/index.js#L630)
## Properties
### blocksBehind
> **blocksBehind**: `number`
Defined in: [Developer/brk/modules/brk-client/index.js:640](https://github.com/bitcoinresearchkit/brk/blob/1a706da13cc492eee123fc28fd358f02b56918b6/modules/brk-client/index.js#L640)
Number of blocks behind the tip
***
### computedHeight
> **computedHeight**: `number`
Defined in: [Developer/brk/modules/brk-client/index.js:638](https://github.com/bitcoinresearchkit/brk/blob/1a706da13cc492eee123fc28fd358f02b56918b6/modules/brk-client/index.js#L638)
Height of the last computed block (series)
***
### indexedHeight
> **indexedHeight**: `number`
Defined in: [Developer/brk/modules/brk-client/index.js:637](https://github.com/bitcoinresearchkit/brk/blob/1a706da13cc492eee123fc28fd358f02b56918b6/modules/brk-client/index.js#L637)
Height of the last indexed block
***
### lastIndexedAt
> **lastIndexedAt**: `string`
Defined in: [Developer/brk/modules/brk-client/index.js:641](https://github.com/bitcoinresearchkit/brk/blob/1a706da13cc492eee123fc28fd358f02b56918b6/modules/brk-client/index.js#L641)
Human-readable timestamp of the last indexed block (ISO 8601)
***
### lastIndexedAtUnix
> **lastIndexedAtUnix**: `number`
Defined in: [Developer/brk/modules/brk-client/index.js:642](https://github.com/bitcoinresearchkit/brk/blob/1a706da13cc492eee123fc28fd358f02b56918b6/modules/brk-client/index.js#L642)
Unix timestamp of the last indexed block
***
### service
> **service**: `string`
Defined in: [Developer/brk/modules/brk-client/index.js:632](https://github.com/bitcoinresearchkit/brk/blob/1a706da13cc492eee123fc28fd358f02b56918b6/modules/brk-client/index.js#L632)
Service name
***
### startedAt
> **startedAt**: `string`
Defined in: [Developer/brk/modules/brk-client/index.js:635](https://github.com/bitcoinresearchkit/brk/blob/1a706da13cc492eee123fc28fd358f02b56918b6/modules/brk-client/index.js#L635)
Server start time (ISO 8601)
***
### status
> **status**: `string`
Defined in: [Developer/brk/modules/brk-client/index.js:631](https://github.com/bitcoinresearchkit/brk/blob/1a706da13cc492eee123fc28fd358f02b56918b6/modules/brk-client/index.js#L631)
Health status ("healthy")
***
### timestamp
> **timestamp**: `string`
Defined in: [Developer/brk/modules/brk-client/index.js:634](https://github.com/bitcoinresearchkit/brk/blob/1a706da13cc492eee123fc28fd358f02b56918b6/modules/brk-client/index.js#L634)
Current server time (ISO 8601)
***
### tipHeight
> **tipHeight**: `number`
Defined in: [Developer/brk/modules/brk-client/index.js:639](https://github.com/bitcoinresearchkit/brk/blob/1a706da13cc492eee123fc28fd358f02b56918b6/modules/brk-client/index.js#L639)
Height of the chain tip (from Bitcoin node)
***
### uptimeSeconds
> **uptimeSeconds**: `number`
Defined in: [Developer/brk/modules/brk-client/index.js:636](https://github.com/bitcoinresearchkit/brk/blob/1a706da13cc492eee123fc28fd358f02b56918b6/modules/brk-client/index.js#L636)
Uptime in seconds
***
### version
> **version**: `string`
Defined in: [Developer/brk/modules/brk-client/index.js:633](https://github.com/bitcoinresearchkit/brk/blob/1a706da13cc492eee123fc28fd358f02b56918b6/modules/brk-client/index.js#L633)
Server version