• Generates a Program Derived Address for multipliers based on a pool's public key.


    • pool: PublicKey

      The pool's public key.

    • Optional programId: PublicKey

      The program ID for the staking pool program. Default is PROGRAM_ID.

    Returns [PublicKey, number]

    The generated Program Derived Address.


    const poolPublicKey = new web3.PublicKey("..."); // Replace with actual pool public key
    const multipliersPda = getMultipliersPda(poolPublicKey);

Generated using TypeDoc