SuiMultisigAccountPublicKey class
Represents a multisig public key with multiple public keys and a threshold.
- Inheritance
-
- Object
- BcsSerialization
- BcsVariantSerialization
- SuiAccountPublicKey
- SuiMultisigAccountPublicKey
Constructors
-
SuiMultisigAccountPublicKey.new({required List<
SuiMultisigPublicKeyInfo> publicKeys, required int threshold}) -
Validates and creates a multisig account public key.
factory
-
SuiMultisigAccountPublicKey.deserialize(List<
int> bytes) -
Deserializes a multisig public key from byte data.
factory
-
SuiMultisigAccountPublicKey.fromStruct(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
-
publicKeys
→ List<
SuiMultisigPublicKeyInfo> -
List of multisig public key info.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scheme → SuiSigningScheme
-
finalinherited
- serializableType → BcsSerializableType
-
Specifies that this class represents a
variant
type.no setterinherited - threshold → int
-
Threshold required for multisig approval.
final
- variantName → String
-
Returns the name of the signing scheme variant.
no setterinherited
Methods
-
createLayout(
{String? property}) → Layout< Map< String, dynamic> > -
Creates a layout structure for serialization.
override
-
createVariantLayout(
{String? property}) → Layout< Map< String, dynamic> > -
Creates a layout structure specifically for variants.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toAddress(
) → SuiAddress -
Converts the multisig public key to a Sui address.
override
-
toBcs(
{String? property}) → List< int> -
Serializes the object to BCS format (List of bytes).
inherited
-
toBcsBase64(
) → String -
Converts the BCS-encoded bytes to a Base64 string.
inherited
-
toBcsHex(
) → String -
Converts the BCS-encoded bytes to a hexadecimal string.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts the variant structure to a JSON-compatible Map.
inherited
-
toLayoutStruct(
) → Map< String, dynamic> -
Converts the current object to a layout-friendly structure (Map format).
override
-
toString(
) → String -
A string representation of this object.
inherited
-
toVariantBcs(
{String? property}) → List< int> -
Serializes the variant into BCS format (List of bytes).
inherited
-
toVariantBcsBase64(
) → String -
Converts the serialized variant into a Base64 string.
inherited
-
toVariantBcsHex(
) → String -
Converts the serialized variant into a hexadecimal string.
inherited
-
toVariantLayoutStruct(
) → Map< String, dynamic> -
Converts the variant to a layout-friendly structure with the variant name as the key.
inherited
-
verify(
{required List< int> message, required List<int> signature}) → bool -
Verifies the given signature against the provided message.
inherited
-
verifyPrsonalMessage(
{required List< int> message, required List<int> signature}) → bool -
verify personal message. the signature must be a valid sui signature.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override