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
ExtraFieldsId()
Object ID of the Bag holding fields added to this struct after its
current on-chain layout was set.
public ObjectId ExtraFieldsId()
Returns
GasPrice()
Gas price quote, updated only at end of epoch.
public ulong GasPrice()
Returns
Metadata()
The validator's metadata (addresses, keys, and descriptive info).
public ValidatorMetadataV1 Metadata()
Returns
NextEpochCommissionRate()
The commission rate of the validator starting next epoch, in basis points.
public ulong NextEpochCommissionRate()
Returns
NextEpochGasPrice()
This validator's gas price quote for the next epoch.
public ulong NextEpochGasPrice()
Returns
NextEpochStake()
Total amount of stake that would be active in the next epoch, in nanos.
public ulong NextEpochStake()
Returns
OperationCapId()
Object ID of this validator's current valid
UnverifiedValidatorOperationCap.
public ObjectId OperationCapId()
Returns
StakingPool()
Staking pool for this validator.
public StakingPoolV1 StakingPool()
Returns
VotingPower()
The voting power of this validator, which may differ from its stake amount.
public ulong VotingPower()