Header defines the structure of a Tendermint block header.

from message cosmos.base.tendermint.v1beta1.Header

Hierarchy

Constructors

Properties

appHash: Uint8Array = ...

state after txs from the previous block

from field: bytes app_hash = 11;

chainId: string = ""

from field: string chain_id = 2;

consensusHash: Uint8Array = ...

consensus params for current block

from field: bytes consensus_hash = 10;

dataHash: Uint8Array = ...

transactions

from field: bytes data_hash = 7;

evidenceHash: Uint8Array = ...

consensus info

evidence included in the block

from field: bytes evidence_hash = 13;

height: bigint = protoInt64.zero

from field: int64 height = 3;

lastBlockId?: BlockID

prev block info

from field: tendermint.types.BlockID last_block_id = 5;

lastCommitHash: Uint8Array = ...

hashes of block data

commit from validators from the last block

from field: bytes last_commit_hash = 6;

lastResultsHash: Uint8Array = ...

root hash of all results from the txs from the previous block

from field: bytes last_results_hash = 12;

nextValidatorsHash: Uint8Array = ...

validators for the next block

from field: bytes next_validators_hash = 9;

proposerAddress: string = ""

proposer_address is the original block proposer address, formatted as a Bech32 string. In Tendermint, this type is bytes, but in the SDK, we convert it to a Bech32 string for better UX.

original proposer of the block

from field: string proposer_address = 14;

time?: Timestamp

from field: google.protobuf.Timestamp time = 4;

validatorsHash: Uint8Array = ...

hashes from the app output from the prev block

validators for the current block

from field: bytes validators_hash = 8;

version?: Consensus

basic block info

from field: tendermint.version.Consensus version = 1;

fields: FieldList = ...
runtime: ProtoRuntime = proto3
typeName: "cosmos.base.tendermint.v1beta1.Header" = "cosmos.base.tendermint.v1beta1.Header"

Methods