AptosMultiEd25519Signature class
Vector of the multi-key signatures along with a 32bit u8; 4 bitmap required to map signatures
with their corresponding public keys.
Note that bits are read from left to right. For instance, in the following bitmap
0b0001_0000, 0b0000_0000, 0b0000_0000, 0b0000_0001, the 3rd and 31st positions are set.
Represents a Multi-Ed25519 signature for Aptos, supporting multiple signatures.
- Inheritance
- 
    - Object
- BcsSerialization
- AptosSignature
- AptosMultiEd25519Signature
 
Constructors
- 
          AptosMultiEd25519Signature({required List<AptosEd25519Signature> signatures, required List<int> bitmap})
- 
          
            factory
- 
          AptosMultiEd25519Signature.deserialize(List<int> bytes)
- 
          
            factory
- 
          AptosMultiEd25519Signature.fromStruct(Map<String, dynamic> json)
- 
          
            factory
Properties
- 
  bitmap
  → List<int> 
- 
  A bitmap indicating which public keys are associated with the signatures.
  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<AptosEd25519Signature> 
- 
  A list of Ed25519 signatures included in the multi-signature.
  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