diff --git a/bridge-aggregators/rubic/index.ts b/bridge-aggregators/rubic/index.ts index 67a239ecb4..1c3bfb354f 100644 --- a/bridge-aggregators/rubic/index.ts +++ b/bridge-aggregators/rubic/index.ts @@ -103,7 +103,8 @@ const BadDataDays = [1758931200, 1759190400] const fetch: any = async (options: FetchOptions): Promise => { const response: ApiResponse = ( - await fetchURL(`https://api.rubic.exchange/api/stats/defilama_crosschain?date=${options.startTimestamp}&network=${chains[options.chain]}`, 3) + // Rubic expects the UTC calendar-day timestamp; startTimestamp is one second before the day. + await fetchURL(`https://api.rubic.exchange/api/stats/defilama_crosschain?date=${options.startOfDay}&network=${chains[options.chain]}`, 3) ); let dailyBridgeVolume = response?.daily_volume_in_usd || '0'