Skip to main content

Interface: ValidatorV1Like

A typed view of a 0x3::validator::ValidatorV1 from the active validator set.

Methods

commissionRate()

commissionRate(): bigint;

Commission rate of the validator, in basis points.

Returns

bigint


extraFieldsId()

extraFieldsId(): ObjectIdLike;

Object ID of the Bag holding fields added to this struct after its current on-chain layout was set.

Returns

ObjectIdLike


gasPrice()

gasPrice(): bigint;

Gas price quote, updated only at end of epoch.

Returns

bigint


metadata()

metadata(): ValidatorMetadataV1Like;

The validator's metadata (addresses, keys, and descriptive info).

Returns

ValidatorMetadataV1Like


nextEpochCommissionRate()

nextEpochCommissionRate(): bigint;

The commission rate of the validator starting next epoch, in basis points.

Returns

bigint


nextEpochGasPrice()

nextEpochGasPrice(): bigint;

This validator's gas price quote for the next epoch.

Returns

bigint


nextEpochStake()

nextEpochStake(): bigint;

Total amount of stake that would be active in the next epoch, in nanos.

Returns

bigint


operationCapId()

operationCapId(): ObjectIdLike;

Object ID of this validator's current valid UnverifiedValidatorOperationCap.

Returns

ObjectIdLike


stakingPool()

stakingPool(): StakingPoolV1Like;

Staking pool for this validator.

Returns

StakingPoolV1Like


votingPower()

votingPower(): bigint;

The voting power of this validator, which may differ from its stake amount.

Returns

bigint