Validator defines a validator, together with the total amount of the Validator's bond shares and their exchange rate to coins. Slashing results in a decrease in the exchange rate, allowing correct calculation of future undelegations without iterating over delegators. When coins are delegated to this validator, the validator is credited with a delegation whose number of bond shares is based on the amount of coins delegated divided by the current exchange rate. Voting power can be calculated as total bonded shares multiplied by exchange rate.

Hierarchy

  • Stakingv1Beta1Validator

Properties

commission?: V1Beta1Commission

commission defines the commission parameters.

consensus_pubkey?: ProtobufAny

consensus_pubkey is the consensus public key of the validator, as a Protobuf Any.

delegator_shares?: string

delegator_shares defines total shares issued to a validator's delegators.

description?: V1Beta1Description

description defines the description terms for the validator.

jailed?: boolean

jailed defined whether the validator has been jailed from bonded status or not.

min_self_delegation?: string

min_self_delegation is the validator's self declared minimum self delegation.

Since: cosmos-sdk 0.46

operator_address?: string

operator_address defines the address of the validator's operator; bech encoded in JSON.

status is the validator status (bonded/unbonding/unbonded).

tokens?: string

tokens define the delegated tokens (incl. self-delegation).

unbonding_height?: string

unbonding_height defines, if unbonding, the height at which this validator has begun unbonding.

Format

int64

unbonding_time?: string

unbonding_time defines, if unbonding, the min time for the validator to complete unbonding.

Format

date-time

Generated using TypeDoc