Files
brk/modules/brk-client/docs/interfaces/BlockStatus.md
2026-01-17 22:48:00 +01:00

40 lines
1.2 KiB
Markdown

[**brk-client**](../README.md)
***
[brk-client](../globals.md) / BlockStatus
# Interface: BlockStatus
Defined in: [Developer/brk/modules/brk-client/index.js:149](https://github.com/bitcoinresearchkit/brk/blob/2e1037ff3648b9362cc223c71160f3d69c7730ad/modules/brk-client/index.js#L149)
## Properties
### height?
> `optional` **height**: `number` \| `null`
Defined in: [Developer/brk/modules/brk-client/index.js:151](https://github.com/bitcoinresearchkit/brk/blob/2e1037ff3648b9362cc223c71160f3d69c7730ad/modules/brk-client/index.js#L151)
Block height (only if in best chain)
***
### inBestChain
> **inBestChain**: `boolean`
Defined in: [Developer/brk/modules/brk-client/index.js:150](https://github.com/bitcoinresearchkit/brk/blob/2e1037ff3648b9362cc223c71160f3d69c7730ad/modules/brk-client/index.js#L150)
Whether this block is in the best chain
***
### nextBest?
> `optional` **nextBest**: `string` \| `null`
Defined in: [Developer/brk/modules/brk-client/index.js:152](https://github.com/bitcoinresearchkit/brk/blob/2e1037ff3648b9362cc223c71160f3d69c7730ad/modules/brk-client/index.js#L152)
Hash of the next block in the best chain (only if in best chain and not tip)