bitbadgesjs-sdk - v0.22.7
    Preparing search index...

    Header defines the structure of a Tendermint block header.

    from message cosmos.base.tendermint.v1beta1.Header

    Hierarchy

    Index

    Constructors

    Properties

    appHash: Uint8Array<ArrayBuffer> = ...

    state after txs from the previous block

    from field: bytes app_hash = 11;

    chainId: string = ""

    from field: string chain_id = 2;

    consensusHash: Uint8Array<ArrayBuffer> = ...

    consensus params for current block

    from field: bytes consensus_hash = 10;

    dataHash: Uint8Array<ArrayBuffer> = ...

    transactions

    from field: bytes data_hash = 7;

    evidenceHash: Uint8Array<ArrayBuffer> = ...

    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<ArrayBuffer> = ...

    hashes of block data

    commit from validators from the last block

    from field: bytes last_commit_hash = 6;

    lastResultsHash: Uint8Array<ArrayBuffer> = ...

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

    from field: bytes last_results_hash = 12;

    nextValidatorsHash: Uint8Array<ArrayBuffer> = ...

    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<ArrayBuffer> = ...

    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"

    Methods