Replacement for BlockHeaderView from near-primitives. Shrunken and simplified.

Note: the original BlockHeaderView is still accessible via the .streamerMessage attribute.

Constructors

  • Parameters

    • height: number
    • hash: string
    • prevHash: string
    • author: string
    • timestampNanosec: string
    • epochId: string
    • nextEpochId: string
    • gasPrice: string
    • totalSupply: string
    • latestProtocolVersion: number
    • randomValue: string
    • chunksIncluded: number
    • validatorProposals: ValidatorStakeView[]

    Returns BlockHeader

Properties

author: string
chunksIncluded: number
epochId: string
gasPrice: string
hash: string
height: number
latestProtocolVersion: number
nextEpochId: string
prevHash: string
randomValue: string
timestampNanosec: string
totalSupply: string
validatorProposals: ValidatorStakeView[]

Methods

Generated using TypeDoc