mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-04-25 15:19:58 -07:00
40 lines
1.2 KiB
Markdown
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:175](https://github.com/bitcoinresearchkit/brk/blob/14d7adfdd525d3ec62b22ccc6dc641552e0d5ef0/modules/brk-client/index.js#L175)
|
|
|
|
## Properties
|
|
|
|
### height?
|
|
|
|
> `optional` **height?**: `number` \| `null`
|
|
|
|
Defined in: [Developer/brk/modules/brk-client/index.js:177](https://github.com/bitcoinresearchkit/brk/blob/14d7adfdd525d3ec62b22ccc6dc641552e0d5ef0/modules/brk-client/index.js#L177)
|
|
|
|
Block height (only if in best chain)
|
|
|
|
***
|
|
|
|
### inBestChain
|
|
|
|
> **inBestChain**: `boolean`
|
|
|
|
Defined in: [Developer/brk/modules/brk-client/index.js:176](https://github.com/bitcoinresearchkit/brk/blob/14d7adfdd525d3ec62b22ccc6dc641552e0d5ef0/modules/brk-client/index.js#L176)
|
|
|
|
Whether this block is in the best chain
|
|
|
|
***
|
|
|
|
### nextBest?
|
|
|
|
> `optional` **nextBest?**: `string` \| `null`
|
|
|
|
Defined in: [Developer/brk/modules/brk-client/index.js:178](https://github.com/bitcoinresearchkit/brk/blob/14d7adfdd525d3ec62b22ccc6dc641552e0d5ef0/modules/brk-client/index.js#L178)
|
|
|
|
Hash of the next block in the best chain (only if in best chain and not tip)
|