Skip to main content

ValidatorSet

Representation of 0x3::validator_set::ValidatorSet.

type ValidatorSet {
activeValidators: [Validator!]
inactivePoolsId: SuiAddress
inactivePoolsSize: Int
pendingActiveValidatorsId: SuiAddress
pendingActiveValidatorsSize: Int
pendingRemovals: [Int!]
stakingPoolMappingsId: SuiAddress
stakingPoolMappingsSize: Int
totalStake: BigInt
validatorCandidatesId: SuiAddress
validatorCandidatesSize: Int
}

Fields

ValidatorSet.activeValidators ● [Validator!] list object

The current list of active validators.

ValidatorSet.inactivePoolsId ● SuiAddress scalar

Object ID of the Table storing the inactive staking pools.

ValidatorSet.inactivePoolsSize ● Int scalar

Size of the inactive pools Table.

ValidatorSet.pendingActiveValidatorsId ● SuiAddress scalar

Object ID of the wrapped object TableVec storing the pending active validators.

ValidatorSet.pendingActiveValidatorsSize ● Int scalar

Size of the pending active validators table.

ValidatorSet.pendingRemovals ● [Int!] list scalar

Validators that are pending removal from the active validator set, expressed as indices in to activeValidators.

ValidatorSet.stakingPoolMappingsId ● SuiAddress scalar

Object ID of the Table storing the mapping from staking pool ids to the addresses of the corresponding validators. This is needed because a validator's address can potentially change but the object ID of its pool will not.

ValidatorSet.stakingPoolMappingsSize ● Int scalar

Size of the stake pool mappings Table.

ValidatorSet.totalStake ● BigInt scalar

Total amount of stake for all active validators at the beginning of the epoch.

ValidatorSet.validatorCandidatesId ● SuiAddress scalar

Object ID of the Table storing the validator candidates.

ValidatorSet.validatorCandidatesSize ● Int scalar

Size of the validator candidates Table.

Member Of

Epoch object