ReadonlypublicList of any public keys
ReadonlysignaturesThe minimum number of valid signatures required, for the number of public keys specified
Generates an authentication key based on the current instance's byte representation. This key can be used for secure authentication processes within the system.
The generated authentication key.
Serializes the object by writing its signatures and bitmap to the provided serializer. This allows the object to be converted into a format suitable for transmission or storage.
The serializer instance used to perform the serialization.
Verifies the provided signature against the given message. This function helps ensure the integrity and authenticity of the message by checking if the signature is valid.
Note: This function will fail if a keyless signature is used. Use verifySignatureAsync instead.
The arguments for verifying the signature.
The message that was signed.
The signature to verify.
Verifies the provided signature against the given message. This function helps ensure the integrity and authenticity of the message by checking if the signature is valid.
The arguments for verifying the signature.
The Aptos configuration to use
The message that was signed.
Optionaloptions?: { OptionalthrowThe signature to verify.
StaticdeserializeDeserializes a MultiKeySignature from the provided deserializer. This function retrieves the signatures and bitmap necessary for creating a MultiKeySignature object.
The deserializer instance used to read the serialized data.
Get the index of the provided public key.
This function retrieves the index of a specified public key within the MultiKey. If the public key does not exist, it throws an error.
The public key to find the index for.
The corresponding index of the public key, if it exists.
Represents a multi-key authentication scheme for accounts, allowing multiple public keys to be associated with a single account. This class enforces a minimum number of valid signatures required to authorize actions, ensuring enhanced security for multi-agent accounts.
The public keys of each individual agent can be any type of public key supported by Aptos. Since AIP-55, Aptos supports
LegacyandUnifiedauthentication keys.