mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-04-24 14:49: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:241](https://github.com/bitcoinresearchkit/brk/blob/83edef4806773ef7225b7c0de863c44bd953169d/modules/brk-client/index.js#L241)
|
|
|
|
## Properties
|
|
|
|
### height?
|
|
|
|
> `optional` **height?**: `number` \| `null`
|
|
|
|
Defined in: [Developer/brk/modules/brk-client/index.js:243](https://github.com/bitcoinresearchkit/brk/blob/83edef4806773ef7225b7c0de863c44bd953169d/modules/brk-client/index.js#L243)
|
|
|
|
Block height (only if in best chain)
|
|
|
|
***
|
|
|
|
### inBestChain
|
|
|
|
> **inBestChain**: `boolean`
|
|
|
|
Defined in: [Developer/brk/modules/brk-client/index.js:242](https://github.com/bitcoinresearchkit/brk/blob/83edef4806773ef7225b7c0de863c44bd953169d/modules/brk-client/index.js#L242)
|
|
|
|
Whether this block is in the best chain
|
|
|
|
***
|
|
|
|
### nextBest?
|
|
|
|
> `optional` **nextBest?**: `string` \| `null`
|
|
|
|
Defined in: [Developer/brk/modules/brk-client/index.js:244](https://github.com/bitcoinresearchkit/brk/blob/83edef4806773ef7225b7c0de863c44bd953169d/modules/brk-client/index.js#L244)
|
|
|
|
Hash of the next block in the best chain (only if in best chain and not tip)
|