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

/** `GET /api/v1/currencies`（公开） */
export function getPublicCurrencies(): Promise<PublicCurrencyListData> {
  return lotteryRequest.get<PublicCurrencyListData>(`/currencies`, {
    skipGlobalServerError: true,
  });
}
