• Calculates lamport fee using dynamic SOL parameters coming from backend minPrice/maxPrice/allocationFactor are strings from API; prices are in SOL units

    Parameters

    • params: {
          allocationFactor: string;
          claimableLamports: bigint;
          maxPrice: string;
          minPrice: string;
          solDecimals?: number;
      }

    Returns bigint