Skip to content

Latest commit

 

History

History
49 lines (27 loc) · 1.17 KB

BitcoinTxMerkleBranch.md

File metadata and controls

49 lines (27 loc) · 1.17 KB

Interface: BitcoinTxMerkleBranch

Information about the merkle branch to a confirmed transaction.

Table of contents

Properties

Properties

blockHeight

blockHeight: number

The height of the block the transaction was confirmed in.

Defined in

src/lib/bitcoin/spv.ts:52


merkle

merkle: Hex[]

A list of transaction hashes the current hash is paired with, recursively, in order to trace up to obtain the merkle root of the including block, the deepest pairing first. Each hash is an unprefixed hex string.

Defined in

src/lib/bitcoin/spv.ts:59


position

position: number

The 0-based index of the transaction's position in the block.

Defined in

src/lib/bitcoin/spv.ts:64