Skip to content

Latest commit

 

History

History
76 lines (42 loc) · 1.84 KB

BitcoinSpvProof.md

File metadata and controls

76 lines (42 loc) · 1.84 KB

Interface: BitcoinSpvProof

Data required to perform a proof that a given transaction was included in the Bitcoin blockchain.

Table of contents

Properties

Properties

bitcoinHeaders

bitcoinHeaders: Hex

Concatenated block headers in hexadecimal format. Each block header is 80-byte-long. The block header with the lowest height is first.

Defined in

src/lib/bitcoin/spv.ts:31


coinbasePreimage

coinbasePreimage: Hex

The sha256 preimage of the coinbase transaction hash i.e., the sha256 hash of the coinbase transaction.

Defined in

src/lib/bitcoin/spv.ts:37


coinbaseProof

coinbaseProof: Hex

Merkle proof of coinbase transaction inclusion in a block.

Defined in

src/lib/bitcoin/spv.ts:42


merkleProof

merkleProof: Hex

The merkle proof of transaction inclusion in a block.

Defined in

src/lib/bitcoin/spv.ts:20


txIndexInBlock

txIndexInBlock: number

Transaction index in the block (0-indexed).

Defined in

src/lib/bitcoin/spv.ts:25