interbtc-api

@interlay/interbtc-api / Exports / BitcoinMerkleProof

Class: BitcoinMerkleProof

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new BitcoinMerkleProof(buffer): BitcoinMerkleProof

Parameters

Name Type
buffer Buffer

Returns

BitcoinMerkleProof

Defined in

src/utils/bitcoin.ts:193

Properties

blockHeader

blockHeader: Block

Defined in

src/utils/bitcoin.ts:188


flagBits

flagBits: boolean[]

Defined in

src/utils/bitcoin.ts:191


hashes

hashes: `0x${string}`[]

Defined in

src/utils/bitcoin.ts:190


transactionsCount

transactionsCount: number

Defined in

src/utils/bitcoin.ts:189

Methods

fromHex

fromHex(hex): BitcoinMerkleProof

Parameters

Name Type
hex string

Returns

BitcoinMerkleProof

Defined in

src/utils/bitcoin.ts:220