AptosMultiKeySignature class
Class representing a MultiKey signature for Aptos.
- Inheritance
-
- Object
- BcsSerialization
- AptosSignature
- AptosMultiKeySignature
Constructors
-
AptosMultiKeySignature.new({required List<
AptosAnySignature> signatures, required List<int> bitmap}) -
factory
-
AptosMultiKeySignature.deserialize(List<
int> bytes) -
factory
-
AptosMultiKeySignature.fromStruct(Map<
String, dynamic> json) -
factory
Properties
-
bitmap
→ List<
int> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serializableType → BcsSerializableType
-
Returns the serialization type. Defaults to
object
.no setterinherited -
signatures
→ List<
AptosAnySignature> -
A list of Aptos signatures (could be Ed25519, Secp256k1).
final
Methods
-
createLayout(
{String? property}) → Layout< Map< String, dynamic> > -
Creates a layout structure for serialization.
override
-
getIndexesBitmap(
List< int> bytes) → List<int> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
signatureBytes(
) → List< int> -
Abstract method to retrieve the signature as a list of bytes.
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
-
toBytes(
) → List< int> -
get bcs serialized of signature.
override
-
toJson(
) → Map< String, dynamic> -
Converts the serialized object 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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited