Files
brk/modules/brk-client/docs/interfaces/BlockStatus.md
2026-04-05 22:48:10 +02:00

40 lines
1.1 KiB
Markdown

[**brk-client**](../README.md)
***
[brk-client](../globals.md) / BlockStatus
# Interface: BlockStatus
Defined in: [Developer/brk/modules/brk-client/index.js:263](https://github.com/bitcoinresearchkit/brk/blob/acd3d6f42524ece8c85e7b09cc9fdb13b5687b9f/modules/brk-client/index.js#L263)
## Properties
### height?
> `optional` **height?**: `number` \| `null`
Defined in: [Developer/brk/modules/brk-client/index.js:265](https://github.com/bitcoinresearchkit/brk/blob/acd3d6f42524ece8c85e7b09cc9fdb13b5687b9f/modules/brk-client/index.js#L265)
Block height (only if in best chain)
***
### inBestChain
> **inBestChain**: `boolean`
Defined in: [Developer/brk/modules/brk-client/index.js:264](https://github.com/bitcoinresearchkit/brk/blob/acd3d6f42524ece8c85e7b09cc9fdb13b5687b9f/modules/brk-client/index.js#L264)
Whether this block is in the best chain
***
### nextBest?
> `optional` **nextBest?**: `string` \| `null`
Defined in: [Developer/brk/modules/brk-client/index.js:266](https://github.com/bitcoinresearchkit/brk/blob/acd3d6f42524ece8c85e7b09cc9fdb13b5687b9f/modules/brk-client/index.js#L266)
Hash of the next block in the best chain (null if tip)