Skip to main content

MultisigMember

open class MultisigMember : Disposable, AutoCloseable, MultisigMemberInterface

A member in a multisig committee

BCS

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

Constructors​

MultisigMemberconstructor(publicKey: PublicKey, weight: UByte)
Construct a new member from a PublicKey and a weight.

Functions​

NameSummary
close@Synchronized
open override fun close()
destroyopen override fun destroy()
equalsopen operator override fun equals(other: Any?): Boolean
publicKeyopen override fun publicKey(): PublicKey
This member's public key.
toBcsopen override fun toBcs(): ByteArray
Convert this type to BCS encoded bytes.
toDisplayStringopen override fun toDisplayString(): String
Render this type as human-readable text.
toJsonopen override fun toJson(): String
Convert this type to a JSON encoded string.
toStringopen override fun toString(): String
weightopen override fun weight(): UByte
Weight of this member's signature.

Companion object functions​

NameSummary
fromBcsfun fromBcs(bcs: ByteArray): MultisigMember
Create this type from BCS encoded bytes.
fromJsonfun fromJson(json: String): MultisigMember
Create this type from a JSON encoded string.