import { lotteryRequest } from "@/lib/lottery-http";
import type { JackpotSummaryData } from "@/types/api/jackpot";

/** `GET /api/v1/jackpot/summary`（无需登录） */
export function getJackpotSummary(
  currencyCode = "NPR",
): Promise<JackpotSummaryData> {
  return lotteryRequest.get<JackpotSummaryData>(
    `/jackpot/summary`,
    { params: { currency_code: currencyCode } },
  );
}
