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

    Function getReferralPda

    • Derives a Referral Account PDA for a specific gateway and referral code. Each referral code within a gateway has its own PDA to track the referral account.

      Parameters

      • gateway: PublicKey

        The PublicKey of the payment gateway

      • referralCode: Buffer

        The 6-byte referral code

      • programId: PublicKey

        The PublicKey of the Tributary program

      Returns PdaResult

      Object containing the PDA address and bump seed