Skip to main content

ValidatorAggregatedSignature

open class ValidatorAggregatedSignature : Disposable, AutoCloseable, ValidatorAggregatedSignatureInterface

An aggregated signature from multiple Validators.

BCS

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

The bitmap bytes follow the RoaringBitmap serialized format.

Functions​

NameSummary
bitmapBytesopen override fun bitmapBytes(): ByteArray
close@Synchronized
open override fun close()
destroyopen override fun destroy()
epochopen override fun epoch(): ULong
signatureopen override fun signature(): Bls12381Signature
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

Companion object functions​

NameSummary
fromBcsfun fromBcs(bcs: ByteArray): ValidatorAggregatedSignature
Create this type from BCS encoded bytes.
fromJsonfun fromJson(json: String): ValidatorAggregatedSignature
Create this type from a JSON encoded string.
fromSignerBitmapfun fromSignerBitmap(epoch: ULong, signature: Bls12381Signature, bitmapBytes: ByteArray): ValidatorAggregatedSignature