Files
brk/modules/brk-client/docs/interfaces/BlockTemplate.md
T
2026-06-23 18:54:14 +02:00

41 lines
1.2 KiB
Markdown

[**brk-client**](../README.md)
***
[brk-client](../globals.md) / BlockTemplate
# Interface: BlockTemplate
Defined in: [Developer/brk/modules/brk-client/index.js:301](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L301)
## Properties
### hash
> **hash**: `number`
Defined in: [Developer/brk/modules/brk-client/index.js:302](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L302)
Pass back as `<hash>` on
`/api/v1/mempool/block-template/diff/{hash}` to fetch deltas.
***
### stats
> **stats**: [`MempoolBlock`](MempoolBlock.md)
Defined in: [Developer/brk/modules/brk-client/index.js:304](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L304)
Aggregate stats for this block (size, vsize, fee range, ...).
***
### transactions
> **transactions**: [`Transaction`](Transaction.md)[]
Defined in: [Developer/brk/modules/brk-client/index.js:305](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L305)
Full transaction bodies in `getblocktemplate` order.