mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-04-30 01:20:00 -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:276](https://github.com/bitcoinresearchkit/brk/blob/e4496742a4964a986078f3a65d3bfdc1e47a5eba/modules/brk-client/index.js#L276)
|
|
|
|
## Properties
|
|
|
|
### height?
|
|
|
|
> `optional` **height?**: `number` \| `null`
|
|
|
|
Defined in: [Developer/brk/modules/brk-client/index.js:278](https://github.com/bitcoinresearchkit/brk/blob/e4496742a4964a986078f3a65d3bfdc1e47a5eba/modules/brk-client/index.js#L278)
|
|
|
|
Block height (only if in best chain)
|
|
|
|
***
|
|
|
|
### inBestChain
|
|
|
|
> **inBestChain**: `boolean`
|
|
|
|
Defined in: [Developer/brk/modules/brk-client/index.js:277](https://github.com/bitcoinresearchkit/brk/blob/e4496742a4964a986078f3a65d3bfdc1e47a5eba/modules/brk-client/index.js#L277)
|
|
|
|
Whether this block is in the best chain
|
|
|
|
***
|
|
|
|
### nextBest?
|
|
|
|
> `optional` **nextBest?**: `string` \| `null`
|
|
|
|
Defined in: [Developer/brk/modules/brk-client/index.js:279](https://github.com/bitcoinresearchkit/brk/blob/e4496742a4964a986078f3a65d3bfdc1e47a5eba/modules/brk-client/index.js#L279)
|
|
|
|
Hash of the next block in the best chain (null if tip)
|