mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-04-26 23:59:58 -07:00
40 lines
1.1 KiB
Markdown
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:275](https://github.com/bitcoinresearchkit/brk/blob/1ddb3385e298de5498f1b3bf48bb88ed008d8e17/modules/brk-client/index.js#L275)
|
|
|
|
## Properties
|
|
|
|
### height?
|
|
|
|
> `optional` **height?**: `number` \| `null`
|
|
|
|
Defined in: [Developer/brk/modules/brk-client/index.js:277](https://github.com/bitcoinresearchkit/brk/blob/1ddb3385e298de5498f1b3bf48bb88ed008d8e17/modules/brk-client/index.js#L277)
|
|
|
|
Block height (only if in best chain)
|
|
|
|
***
|
|
|
|
### inBestChain
|
|
|
|
> **inBestChain**: `boolean`
|
|
|
|
Defined in: [Developer/brk/modules/brk-client/index.js:276](https://github.com/bitcoinresearchkit/brk/blob/1ddb3385e298de5498f1b3bf48bb88ed008d8e17/modules/brk-client/index.js#L276)
|
|
|
|
Whether this block is in the best chain
|
|
|
|
***
|
|
|
|
### nextBest?
|
|
|
|
> `optional` **nextBest?**: `string` \| `null`
|
|
|
|
Defined in: [Developer/brk/modules/brk-client/index.js:278](https://github.com/bitcoinresearchkit/brk/blob/1ddb3385e298de5498f1b3bf48bb88ed008d8e17/modules/brk-client/index.js#L278)
|
|
|
|
Hash of the next block in the best chain (null if tip)
|