export async function getMarket(id) {
    const { listMarkets } = await import('polymarket-sdk').catch(() => ({ listMarkets: async () => [] }));
    const markets = await listMarkets({ id });
    return markets[0] ?? null;
}
