Skip to main content

ValidatorV1

Namespace: IotaSdk

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

public class ValidatorV1 : IValidatorV1, System.IDisposable

Inheritance Object → ValidatorV1
Implements IValidatorV1, IDisposable
Attributes NullableContextAttribute, NullableAttribute

Constructors​

ValidatorV1(UInt64)​

public ValidatorV1(ulong pointer)

Parameters​

pointer UInt64

Methods​

Destroy()​

public void Destroy()

Dispose()​

public void Dispose()

CommissionRate()​

Commission rate of the validator, in basis points.

public ulong CommissionRate()

Returns​

UInt64

ExtraFieldsId()​

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

public ObjectId ExtraFieldsId()

Returns​

ObjectId

GasPrice()​

Gas price quote, updated only at end of epoch.

public ulong GasPrice()

Returns​

UInt64

Metadata()​

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

public ValidatorMetadataV1 Metadata()

Returns​

ValidatorMetadataV1

NextEpochCommissionRate()​

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

public ulong NextEpochCommissionRate()

Returns​

UInt64

NextEpochGasPrice()​

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

public ulong NextEpochGasPrice()

Returns​

UInt64

NextEpochStake()​

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

public ulong NextEpochStake()

Returns​

UInt64

OperationCapId()​

Object ID of this validator's current valid UnverifiedValidatorOperationCap.

public ObjectId OperationCapId()

Returns​

ObjectId

StakingPool()​

Staking pool for this validator.

public StakingPoolV1 StakingPool()

Returns​

StakingPoolV1

VotingPower()​

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

public ulong VotingPower()

Returns​

UInt64