Represents the public key of a multi-agent account.

The public keys of each individual agent can be any type of public key supported by Aptos. Since AIP-55 Aptos supports Legacy and Unified authentication keys.

Hierarchy (view full)

Constructors

Properties

publicKeys: AnyPublicKey[]

List of any public keys

signaturesRequired: number

The minimum number of valid signatures required, for the number of public keys specified

Methods

  • Serializes a Serializable value to its BCS representation. This function is the Typescript SDK equivalent of bcs::to_bytes in Move.

    Returns Uint8Array

    the BCS representation of the Serializable instance as a byte buffer

  • Create a bitmap that holds the mapping from the original public keys to the signatures passed in

    Parameters

    • args: {
          bits: number[];
      }
      • bits: number[]

        array of the index mapping to the matching public keys

    Returns Uint8Array

    Uint8array bit map

Generated using TypeDoc