diff --git a/src/routes/markets.ts b/src/routes/markets.ts index fa4703a..253064e 100644 --- a/src/routes/markets.ts +++ b/src/routes/markets.ts @@ -83,7 +83,7 @@ export function marketRoutes(): Hono { try { const { data, error } = await getSupabase() .from("markets_with_stats") - .select("slab_address, total_open_interest, total_accounts, last_crank_slot, last_price, mark_price, index_price, funding_rate, net_lp_pos, updated_at") + .select("slab_address, total_open_interest, total_accounts, last_crank_slot, last_price, mark_price, index_price, funding_rate, net_lp_pos, lp_sum_abs, lp_max_abs, insurance_balance, insurance_fee_revenue, volume_24h, updated_at") .eq("network", getNetwork()) .not("slab_address", "is", null); if (error) throw error; @@ -102,7 +102,7 @@ export function marketRoutes(): Hono { try { const { data, error } = await getSupabase() .from("market_stats") - .select("slab_address, total_open_interest, total_accounts, last_crank_slot, last_price, mark_price, index_price, funding_rate, net_lp_pos, updated_at") + .select("slab_address, total_open_interest, total_accounts, last_crank_slot, last_price, mark_price, index_price, funding_rate, net_lp_pos, lp_sum_abs, lp_max_abs, insurance_balance, insurance_fee_revenue, volume_24h, updated_at") .eq("slab_address", slab) .single(); if (error && error.code !== "PGRST116") throw error;