bsv.BlockHeader
Class: BlockHeader
bsv.BlockHeader
Table of contents
Constructors
Methods
Constructors
constructor
• new BlockHeader(arg
)
Parameters
Name | Type |
---|---|
arg | object | JSON | Buffer |
Defined in
node_modules/bsv/index.d.ts:1451
Methods
toObject
▸ toObject(): Object
Returns
Object
Name | Type |
---|---|
bits | number |
hash | string |
merkleRoot | string |
nonce | number |
prevHash | string |
time | number |
version | number |
Defined in
node_modules/bsv/index.d.ts:1453