Skip to main content

MultisigCommittee

open class MultisigCommittee : Disposable, AutoCloseable, MultisigCommitteeInterface

A multisig committee

A MultisigCommittee is a set of members who collectively control a single Address on the IOTA blockchain. The number of required signatures to authorize the execution of a transaction is determined by (signature_0_weight + signature_1_weight ..) >= threshold.

BCS

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

Constructors​

MultisigCommitteeconstructor(members: List<MultisigMember>, threshold: UShort)
Construct a MultisigCommittee and verify it via validate.

Functions​

NameSummary
close@Synchronized
open override fun close()
deriveAddressopen override fun deriveAddress(): Address
Derive an Address from this MultisigCommittee.
destroyopen override fun destroy()
equalsopen operator override fun equals(other: Any?): Boolean
membersopen override fun members(): List<MultisigMember>
The members of the committee
schemeopen override fun scheme(): SignatureScheme
Return the flag for this signature scheme
thresholdopen override fun threshold(): UShort
The total signature weight required to authorize a transaction for the address corresponding to this MultisigCommittee.
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
validateopen override fun validate()
Checks if the Committee is valid.

Companion object functions​

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