Files
brk/modules/brk-client/docs/interfaces/BlockStatus.md
2026-05-17 22:31:01 +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:279](https://github.com/bitcoinresearchkit/brk/blob/6ff43c0f74cf0925ed63288a681f08b5cb45400b/modules/brk-client/index.js#L279)
## Properties
### height?
> `optional` **height?**: `number` \| `null`
Defined in: [Developer/brk/modules/brk-client/index.js:281](https://github.com/bitcoinresearchkit/brk/blob/6ff43c0f74cf0925ed63288a681f08b5cb45400b/modules/brk-client/index.js#L281)
Block height (only if in best chain)
***
### inBestChain
> **inBestChain**: `boolean`
Defined in: [Developer/brk/modules/brk-client/index.js:280](https://github.com/bitcoinresearchkit/brk/blob/6ff43c0f74cf0925ed63288a681f08b5cb45400b/modules/brk-client/index.js#L280)
Whether this block is in the best chain
***
### nextBest?
> `optional` **nextBest?**: `string` \| `null`
Defined in: [Developer/brk/modules/brk-client/index.js:282](https://github.com/bitcoinresearchkit/brk/blob/6ff43c0f74cf0925ed63288a681f08b5cb45400b/modules/brk-client/index.js#L282)
Hash of the next block in the best chain (null if tip)