Files
brk/modules/brk-client/docs/interfaces/BlockTemplateDiff.md
2026-05-17 22:31:01 +02:00

52 lines
1.6 KiB
Markdown

[**brk-client**](../README.md)
***
[brk-client](../globals.md) / BlockTemplateDiff
# Interface: BlockTemplateDiff
Defined in: [Developer/brk/modules/brk-client/index.js:309](https://github.com/bitcoinresearchkit/brk/blob/6ff43c0f74cf0925ed63288a681f08b5cb45400b/modules/brk-client/index.js#L309)
## Properties
### hash
> **hash**: `number`
Defined in: [Developer/brk/modules/brk-client/index.js:310](https://github.com/bitcoinresearchkit/brk/blob/6ff43c0f74cf0925ed63288a681f08b5cb45400b/modules/brk-client/index.js#L310)
Current next-block hash. Use as `since` on the next diff call.
***
### order
> **order**: [`BlockTemplateDiffEntry`](../type-aliases/BlockTemplateDiffEntry.md)[]
Defined in: [Developer/brk/modules/brk-client/index.js:312](https://github.com/bitcoinresearchkit/brk/blob/6ff43c0f74cf0925ed63288a681f08b5cb45400b/modules/brk-client/index.js#L312)
New template in order. Each entry is either an index into the
prior template's transactions or a full transaction body.
***
### removed
> **removed**: `string`[]
Defined in: [Developer/brk/modules/brk-client/index.js:314](https://github.com/bitcoinresearchkit/brk/blob/6ff43c0f74cf0925ed63288a681f08b5cb45400b/modules/brk-client/index.js#L314)
Txids that left the projected next block since `since`
(confirmed, evicted, replaced, or pushed past block 0).
***
### since
> **since**: `number`
Defined in: [Developer/brk/modules/brk-client/index.js:311](https://github.com/bitcoinresearchkit/brk/blob/6ff43c0f74cf0925ed63288a681f08b5cb45400b/modules/brk-client/index.js#L311)
Echoed prior hash the diff was computed against.