Skip to main content

IValidatorV1

Namespace: IotaSdk

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

public interface IValidatorV1

Attributes NullableContextAttribute

Methods

CommissionRate()

Commission rate of the validator, in basis points.

ulong CommissionRate()

Returns

UInt64

ExtraFieldsId()

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

ObjectId ExtraFieldsId()

Returns

ObjectId

GasPrice()

Gas price quote, updated only at end of epoch.

ulong GasPrice()

Returns

UInt64

Metadata()

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

ValidatorMetadataV1 Metadata()

Returns

ValidatorMetadataV1

NextEpochCommissionRate()

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

ulong NextEpochCommissionRate()

Returns

UInt64

NextEpochGasPrice()

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

ulong NextEpochGasPrice()

Returns

UInt64

NextEpochStake()

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

ulong NextEpochStake()

Returns

UInt64

OperationCapId()

Object ID of this validator's current valid UnverifiedValidatorOperationCap.

ObjectId OperationCapId()

Returns

ObjectId

StakingPool()

Staking pool for this validator.

StakingPoolV1 StakingPool()

Returns

StakingPoolV1

VotingPower()

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

ulong VotingPower()

Returns

UInt64