Skip to main content

bsv.MerkleBlock

scrypt-ts / bsv / MerkleBlock

Class: MerkleBlock

bsv.MerkleBlock

Table of contents

Constructors

Methods

Constructors

constructor

new MerkleBlock(arg)

Parameters

NameType
argobject | JSON | Buffer

Defined in

node_modules/bsv/index.d.ts:1464

Methods

toObject

toObject(): Object

Returns

Object

NameType
flagsnumber[]
hashesstring[]
header{ bits: number ; hash: string ; merkleRoot: string ; nonce: number ; prevHash: string ; time: number ; version: number }
header.bitsnumber
header.hashstring
header.merkleRootstring
header.noncenumber
header.prevHashstring
header.timenumber
header.versionnumber
numTransactionsnumber

Defined in

node_modules/bsv/index.d.ts:1466