toJSON() {
    return {
      hash: util.revHex(this.hash),
      version: this.version,
      prevBlock: util.revHex(this.prevBlock),
      merkleRoot: util.revHex(this.merkleRoot),
      time: this.time,
      bits: this.bits,
      nonce: this.nonce,
      vchBlockSig: this.vchBlockSig,
      height: this.height,
      flags: this.flags,
      chainwork: this.chainwork.toString('hex', 64)
    };
  }
/**
   * Serialize the entry to an object more
   * suitable for JSON serialization.
   * @returns {Object}
   */
Serialize the entry to an object more
suitable for JSON serialization.
@returns {Object}
Serialize the entry to an object more suitable for JSON serialization . @returns { Object }
toJSON() {
    return {
      hash: util.revHex(this.hash),
      version: this.version,
      prevBlock: util.revHex(this.prevBlock),
      merkleRoot: util.revHex(this.merkleRoot),
      time: this.time,
      bits: this.bits,
      nonce: this.nonce,
      vchBlockSig: this.vchBlockSig,
      height: this.height,
      flags: this.flags,
      chainwork: this.chainwork.toString('hex', 64)
    };
  }
toJSON ( ) { return { hash : util . revHex ( this . hash ) , version : this . version , prevBlock : util . revHex ( this . prevBlock ) , merkleRoot : util . revHex ( this . merkleRoot ) , time : this . time , bits : this . bits , nonce : this . nonce , vchBlockSig : this . vchBlockSig , height : this . height , flags : this . flags , chainwork : this . chainwork . toString ( 'hex' , 64 ) } ; }
Serialize the entry to an object more
 suitable for JSON serialization.
Serialize the entry to an object more suitable for JSON serialization .