Header defines the structure of a block header.

interface Header {
    appHash: Uint8Array;
    chainId: string;
    consensusHash: Uint8Array;
    dataHash: Uint8Array;
    evidenceHash: Uint8Array;
    height: bigint;
    lastBlockId: BlockID;
    lastCommitHash: Uint8Array;
    lastResultsHash: Uint8Array;
    nextValidatorsHash: Uint8Array;
    proposerAddress: Uint8Array;
    time: Timestamp;
    validatorsHash: Uint8Array;
    version: Consensus;
}

Properties

appHash: Uint8Array

state after txs from the previous block

chainId: string
consensusHash: Uint8Array

consensus params for current block

dataHash: Uint8Array
evidenceHash: Uint8Array

consensus info

height: bigint
lastBlockId: BlockID

prev block info

lastCommitHash: Uint8Array

hashes of block data

lastResultsHash: Uint8Array
nextValidatorsHash: Uint8Array

validators for the next block

proposerAddress: Uint8Array

original proposer of the block

time: Timestamp
validatorsHash: Uint8Array

hashes from the app output from the prev block

version: Consensus

basic block info