Constructors

  • Parameters

    • compactTarget: bigint
    • dao: {
          c: bigint;
          ar: bigint;
          s: bigint;
          u: bigint;
      }
      • c: bigint

        C_i: the total issuance up to and including block i.

      • ar: bigint

        AR_i: the current accumulated rate at block i. AR_j / AR_i reflects the CKByte amount if one deposit 1 CKB to Nervos DAO at block i, and withdraw at block j.

      • s: bigint

        S_i: the total unissued secondary issuance up to and including block i, including unclaimed Nervos DAO compensation and treasury funds.

      • u: bigint

        U_i: the total occupied capacities currently in the blockchain up to and including block i. Occupied capacity is the sum of capacities used to store all cells.

    • epoch: Epoch
    • extraHash: `0x${string}`
    • hash: `0x${string}`
    • nonce: bigint
    • number: bigint
    • parentHash: `0x${string}`
    • proposalsHash: `0x${string}`
    • timestamp: bigint
    • transactionsRoot: `0x${string}`
    • version: bigint

    Returns ClientBlockHeader

Properties

compactTarget: bigint
dao: {
    c: bigint;
    ar: bigint;
    s: bigint;
    u: bigint;
}

Type declaration

  • c: bigint

    C_i: the total issuance up to and including block i.

  • ar: bigint

    AR_i: the current accumulated rate at block i. AR_j / AR_i reflects the CKByte amount if one deposit 1 CKB to Nervos DAO at block i, and withdraw at block j.

  • s: bigint

    S_i: the total unissued secondary issuance up to and including block i, including unclaimed Nervos DAO compensation and treasury funds.

  • u: bigint

    U_i: the total occupied capacities currently in the blockchain up to and including block i. Occupied capacity is the sum of capacities used to store all cells.

epoch: Epoch
extraHash: `0x${string}`
hash: `0x${string}`
nonce: bigint
number: bigint
parentHash: `0x${string}`
proposalsHash: `0x${string}`
timestamp: bigint
transactionsRoot: `0x${string}`
version: bigint

Methods