Kaspa Block Header

Constructors

Properties

bits: number
blueScore: bigint
daaScore: bigint
hash: string
nonce: bigint
parentsByLevel: any
timestamp: bigint
version: number

Accessors

  • get acceptedIdMerkleRoot(): string
  • Returns string

  • set acceptedIdMerkleRoot(value): void
  • Parameters

    • value: any

    Returns void

  • get blueWork(): bigint
  • Returns bigint

  • set blueWork(value): void
  • Parameters

    • value: any

    Returns void

  • get hashMerkleRoot(): string
  • Returns string

  • set hashMerkleRoot(value): void
  • Parameters

    • value: any

    Returns void

  • get pruningPoint(): string
  • Returns string

  • set pruningPoint(value): void
  • Parameters

    • value: any

    Returns void

  • get utxoCommitment(): string
  • Returns string

  • set utxoCommitment(value): void
  • Parameters

    • value: any

    Returns void

Methods

  • Obtain JSON representation of the header. JSON representation should be obtained using WASM, to ensure proper serialization of big integers.

    Returns string

  • Finalizes the header and recomputes (updates) the header hash

    Returns string

    header hash

  • Returns void

  • Returns string

    • Return copy of self without private attributes.

    Returns Object

  • Return stringified version of self.

    Returns string

Generated using TypeDoc