Vote represents a prevote, precommit, or commit vote from validators for consensus.

interface Vote {
    blockId: undefined | BlockID;
    height: bigint;
    round: number;
    signature: Uint8Array;
    timestamp: undefined | Date;
    type: SignedMsgType;
    validatorAddress: Uint8Array;
    validatorIndex: number;
}

Properties

blockId: undefined | BlockID

zero if vote is nil.

height: bigint
round: number
signature: Uint8Array
timestamp: undefined | Date
validatorAddress: Uint8Array
validatorIndex: number