interface NewBlockHeaderEvent {
    appHash: Uint8Array;
    chainId: string;
    consensusHash: Uint8Array;
    dataHash: Uint8Array;
    evidenceHash: Uint8Array;
    height: number;
    lastBlockId: null | BlockId;
    lastCommitHash: Uint8Array;
    lastResultsHash: Uint8Array;
    nextValidatorsHash: Uint8Array;
    proposerAddress: Uint8Array;
    time: ReadonlyDateWithNanoseconds;
    validatorsHash: Uint8Array;
    version: Version;
}

Hierarchy (view full)

Properties

appHash: Uint8Array

This can be an empty string for height 1 and turn into "0000000000000000" later on 🤷‍

chainId: string
consensusHash: Uint8Array
dataHash: Uint8Array

This is sha256("") as long as there is no data 🤷‍

evidenceHash: Uint8Array

This is sha256("") as long as there is no data 🤷‍

height: number
lastBlockId: null | BlockId

Block ID of the previous block. This can be null when the currect block is height 1.

lastCommitHash: Uint8Array

Hashes of block data.

This is sha256("") for height 1 🤷‍

lastResultsHash: Uint8Array

This is sha256("") as long as there is no data 🤷‍

nextValidatorsHash: Uint8Array
proposerAddress: Uint8Array
validatorsHash: Uint8Array
version: Version