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

    Function getUserPaymentPda

    • Derives a User Payment PDA for tracking a user's payment activity. Each user has one PDA per token mint to aggregate their payment policies.

      Parameters

      • user: PublicKey

        The PublicKey of the user

      • tokenMint: PublicKey

        The PublicKey of the token mint being used for payments

      • programId: PublicKey

        The PublicKey of the Tributary program

      Returns PdaResult

      Object containing the PDA address and bump seed