useHistoricalAlerts
TanStack Query hook for the historical-alerts log. Fetches the `[start, end]` range as successive 24-hour `history-log` windows (see `fetchHistoricalAlertsIn…
TanStack Query hook for the historical-alerts log. Fetches the `[start, end]` range as successive 24-hour `history-log` windows (see `fetchHistoricalAlertsInChunks`), merges them by `uuid`, and shapes the rows for the devkit `<HistoricalAl…
import { useHistoricalAlerts } from "@tetherto/mdk-react-adapter";Signature
({ start, end, intervalMs, enabled, }: UseHistoricalAlertsOptions) => UseQueryResult<HistoricalAlert[], Error>| Package | @tetherto/mdk-react-adapter |
| Requires provider | No |