INNER CODE UNIT · JavaScript
BlockHeader
opentimestamps/javascript-opentimestamps · src/bitcoin.js:16
class BlockHeader {
constructor (merkleroot, hash, time) {
this.merkleroot = merkleroot
this.hash = hash
this.time = time
}
getMerkleroot () {
return this.merkleroot
}
getHash () {
return this.hash
}
getTime () {
return this.time
}