• Calculates the Program Derived Address (PDA) for an address container account.

    Parameters

    • role: ProjectMints

      The role of the address container.

    • associatedWith: PublicKey

      The associated public key.

    • index: number

      The index of the address container.

    • Optional programId: PublicKey

      The program ID for which the PDA is calculated. Default is the hive control program ID.

    Returns [PublicKey, number]

    The PDA for the address container account.

Generated using TypeDoc