Skip to main content

ValidatorCommitteeMember

Namespace: IotaSdk

A member of a Validator Committee

BCS

The BCS serialized form of this type is specified in bcs-schema.abnf.

public record class ValidatorCommitteeMember : System.IDisposable, System.IEquatable`1[[IotaSdk.ValidatorCommitteeMember, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]

Inheritance Object → ValidatorCommitteeMember
Implements IDisposable, IEquatable<ValidatorCommitteeMember>
Attributes NullableContextAttribute, NullableAttribute

Properties​

PublicKey​

public Bls12381PublicKey PublicKey { get; init; }

Property Value​

Bls12381PublicKey

Stake​

public ulong Stake { get; init; }

Property Value​

UInt64

Constructors​

ValidatorCommitteeMember(Bls12381PublicKey, UInt64)​

A member of a Validator Committee

BCS

The BCS serialized form of this type is specified in bcs-schema.abnf.

public ValidatorCommitteeMember(Bls12381PublicKey PublicKey, ulong Stake)

Parameters​

PublicKey Bls12381PublicKey

Stake UInt64

Methods​

Dispose()​

public void Dispose()

ToBcs()​

Convert this type to BCS encoded bytes.

public Byte[] ToBcs()

Returns​

Byte[]

Exceptions​

SdkFfiException

ToDisplayString()​

Render this type as human-readable text.

The layout is meant for reading and can change between releases. Use the JSON or BCS conversions for output that gets parsed.

public string ToDisplayString()

Returns​

String

ToJson()​

Convert this type to a JSON encoded string.

public string ToJson()

Returns​

String

Exceptions​

SdkFfiException