• Calculates the Program Derived Address (PDA) for the public info account.

    Parameters

    • Optional env: string

      The environment for the public info. Default is "main".

    • 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 public info account.

Generated using TypeDoc