@tributary-so/sdk
    Preparing search index...

    Function getPaymentPolicyPda

    • Derives a Payment Policy PDA for a specific payment policy. Each policy within a user's payment account has its own PDA.

      Parameters

      • userPayment: PublicKey

        The PublicKey of the user's payment PDA

      • policyId: number

        The unique identifier for this policy within the user's account

      • programId: PublicKey

        The PublicKey of the Tributary program

      Returns PdaResult

      Object containing the PDA address and bump seed