Skip to main content

MultisigMember

Namespace: IotaSdk

A member in a multisig committee

BCS

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

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

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

Constructors​

MultisigMember(UInt64)​

public MultisigMember(ulong pointer)

Parameters​

pointer UInt64

MultisigMember(PublicKey, Byte)​

Construct a new member from a PublicKey and a weight.

public MultisigMember(PublicKey publicKey, byte weight)

Parameters​

publicKey PublicKey

weight Byte

Methods​

Destroy()​

public void Destroy()

Dispose()​

public void Dispose()

PublicKey()​

This member's public key.

public PublicKey PublicKey()

Returns​

PublicKey

ToBcs()​

Convert this type to BCS encoded bytes.

public Byte[] ToBcs()

Returns​

Byte[]

Exceptions​

SdkFfiException

ToDisplayString()​

Render this type as human-readable text.

Some types also print this through the binding's native string conversion; this method is the spelling every object type has.

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

Weight()​

Weight of this member's signature.

public byte Weight()

Returns​

Byte

Equals(MultisigMember)​

public bool Equals(MultisigMember? other)

Parameters​

other MultisigMember?

Returns​

Boolean

Equals(Object)​

public override bool Equals(object? obj)

Parameters​

obj Object?

Returns​

Boolean

FromBcs(Byte[])​

Create this type from BCS encoded bytes.

public static MultisigMember FromBcs(Byte[] bcs)

Parameters​

bcs Byte[]

Returns​

MultisigMember

Exceptions​

SdkFfiException

FromJson(String)​

Create this type from a JSON encoded string.

public static MultisigMember FromJson(string json)

Parameters​

json String

Returns​

MultisigMember

Exceptions​

SdkFfiException