Hierarchy (view full)

Constructors

Properties

_beneficiaryAddress: models.Address
_difficulty: Difficulty
_entityBodyReserved_1: number
_feeMultiplier: BlockFeeMultiplier
_generationHashProof: VrfProof
_harvestingEligibleAccountsCount: bigint
_height: models.Height
_previousBlockHash: models.Hash256
_previousImportanceBlockHash: models.Hash256
_receiptsHash: models.Hash256
_signature: models.Signature
_signerPublicKey: models.PublicKey
_stateHash: models.Hash256
_timestamp: models.Timestamp
_totalVotingBalance: models.Amount
_transactions: any[]
_transactionsHash: models.Hash256
_type: BlockType
_verifiableEntityHeaderReserved_1: number
_version: number
_votingEligibleAccountsCount: number
BLOCK_TYPE: BlockType
BLOCK_VERSION: number
TYPE_HINTS: {
    beneficiaryAddress: string;
    difficulty: string;
    feeMultiplier: string;
    generationHashProof: string;
    height: string;
    network: string;
    previousBlockHash: string;
    previousImportanceBlockHash: string;
    receiptsHash: string;
    signature: string;
    signerPublicKey: string;
    stateHash: string;
    timestamp: string;
    totalVotingBalance: string;
    transactions: string;
    transactionsHash: string;
    type: string;
}

Type declaration

  • beneficiaryAddress: string
  • difficulty: string
  • feeMultiplier: string
  • generationHashProof: string
  • height: string
  • network: string
  • previousBlockHash: string
  • previousImportanceBlockHash: string
  • receiptsHash: string
  • signature: string
  • signerPublicKey: string
  • stateHash: string
  • timestamp: string
  • totalVotingBalance: string
  • transactions: string
  • transactionsHash: string
  • type: string

Accessors

  • get beneficiaryAddress(): models.Address
  • Returns models.Address

  • set beneficiaryAddress(value): void
  • Parameters

    Returns void

  • get difficulty(): Difficulty
  • Returns Difficulty

  • set difficulty(value): void
  • Parameters

    Returns void

  • get feeMultiplier(): BlockFeeMultiplier
  • Returns BlockFeeMultiplier

  • set feeMultiplier(value): void
  • Parameters

    Returns void

  • get generationHashProof(): VrfProof
  • Returns VrfProof

  • set generationHashProof(value): void
  • Parameters

    Returns void

  • get harvestingEligibleAccountsCount(): bigint
  • Returns bigint

  • set harvestingEligibleAccountsCount(value): void
  • Parameters

    • value: bigint

    Returns void

  • get height(): models.Height
  • Returns models.Height

  • set height(value): void
  • Parameters

    Returns void

  • get previousBlockHash(): models.Hash256
  • Returns models.Hash256

  • set previousBlockHash(value): void
  • Parameters

    Returns void

  • get previousImportanceBlockHash(): models.Hash256
  • Returns models.Hash256

  • set previousImportanceBlockHash(value): void
  • Parameters

    Returns void

  • get receiptsHash(): models.Hash256
  • Returns models.Hash256

  • set receiptsHash(value): void
  • Parameters

    Returns void

  • get signature(): models.Signature
  • Returns models.Signature

  • set signature(value): void
  • Parameters

    Returns void

  • get signerPublicKey(): models.PublicKey
  • Returns models.PublicKey

  • set signerPublicKey(value): void
  • Parameters

    Returns void

  • get size(): number
  • Returns number

  • get stateHash(): models.Hash256
  • Returns models.Hash256

  • set stateHash(value): void
  • Parameters

    Returns void

  • get timestamp(): models.Timestamp
  • Returns models.Timestamp

  • set timestamp(value): void
  • Parameters

    Returns void

  • get totalVotingBalance(): models.Amount
  • Returns models.Amount

  • set totalVotingBalance(value): void
  • Parameters

    Returns void

  • get transactions(): any[]
  • Returns any[]

  • set transactions(value): void
  • Parameters

    • value: any[]

    Returns void

  • get transactionsHash(): models.Hash256
  • Returns models.Hash256

  • set transactionsHash(value): void
  • Parameters

    Returns void

  • get type(): BlockType
  • Returns BlockType

  • set type(value): void
  • Parameters

    Returns void

  • get version(): number
  • Returns number

  • set version(value): void
  • Parameters

    • value: number

    Returns void

  • get votingEligibleAccountsCount(): number
  • Returns number

  • set votingEligibleAccountsCount(value): void
  • Parameters

    • value: number

    Returns void

Methods

  • Parameters

    • buffer: any

    Returns void

  • Returns Uint8Array

  • Returns void

  • Returns object

    JSON-safe representation of this object.

  • Returns string

  • Parameters

    • view: any
    • instance: any

    Returns void