Skip to content
Developer Handbook

Blockchain, P2P and zero-conf

Response: Block Transactions ("blocktxn")

On this page

Transmits a group of transactions from a block to a peer.

A blocktxn message is sent in response to a getblocktxn message, and must include exactly the set of transactions requested, in the order requested (i.e. in the order they appear in the block).

Format

Field Length Format Description
block hash 32 bytes bytes The hash of the block that contains the transactions to follow.
transaction count variable variable length integer The number of transactions being provided.
transactions variable transaction count transactions The transactions, in order, serialized as though in a tx message.
Source and attribution

Documentation.cash (source repository) · Reference.cash (source repository)
Software Verde, Bitcoin Unlimited and the project contributors. Collection license CC BY 3.0 US. Individual notices are retained.
Source snapshot from November 29, 2026. BCH Ninja combined the community editions and updated navigation.