Hooks Complete hook catalog for the MDK App Toolkit — adapter data hooks, state hooks, component hooks, and utilities
Complete hook catalog for the MDK App Toolkit, covering hooks from both @tetherto/mdk-react-adapter (data, state, utilities) and @tetherto/mdk-react-devkit (component hooks). Grouped by what each hook depends on rather than which package ships it — this matches the
Developer entry points model where the adapter and the UI Kit are siblings, so you can adopt only the layers you need.
Bucket Page What it covers Needs Components Component hooks Hooks coupled to MDK styled components or shell layout (notifications, forms, charts, dashboards, filters, widgets, tables, reporting) @tetherto/mdk-react-devkit and (for some) <MdkProvider>Data Data hooks Adapter hooks that fetch and shape site, pool, dashboard, chart, and auth data <MdkProvider> from @tetherto/mdk-react-adapterState State hooks React-bound views of the headless @tetherto/mdk-ui-core Zustand stores <MdkProvider> from @tetherto/mdk-react-adapterUtilities Utility hooks Generic React helpers, mining-domain transforms, permission checks, and TanStack Query re-exports @tetherto/mdk-react-adapter and (for some) <MdkProvider>
@tetherto/mdk-react-devkit
@tetherto/mdk-react-adapter
Sub-group Hooks Auth and token useAuthToken , useTokenPollingChart data useConsumptionChartData , useHashrateChartData , usePowerModeTimelineDataDashboard useDashboardDateRange , useDashboardExport , useDashboardTimeRangeIncidents useActiveIncidentsPool data usePoolRows , usePoolStatsSite data useSiteConsumption , useSiteConsumptionChartData , useSiteContainerCapacity , useSiteEfficiency , useSiteHashrate , useSiteMinerCounts , useSiteMinerStats , useSitePowerMeter , useSitesOverviewData
@tetherto/mdk-react-adapter
Hook Summary useAuthReact view of the headless authStore (token, permissions) useDevicesReact view of the headless devicesStore (device list, selection) useTimezoneReact view of the headless timezoneStore (operator timezone) useNotificationsReact view of the headless notificationStore (unread counter) useActionsReact view of the headless actionsStore (pending submissions)
@tetherto/mdk-react-adapter + @tetherto/mdk-react-devkit/foundation
Sub-group Hooks Device and IP usePduViewerDomain transforms useCostSummary , useHashBalance , useSubsidyFees , useUpdateExistedActionsGeneric React useLocalStorage , useKeyDown , useWindowSize , usePlatform , useDeviceResolution , useBeepSound , usePagination , useSubtractedTime , useTimezoneFormatterPermissions useCheckPerm , useHasPerms , useIsFeatureEditingEnabledTanStack Query re-exports Re-exports table
import { useNotification, useChartDataCheck } from '@tetherto/mdk-react-devkit/foundation'
import { useAuth, usePagination, useTimezoneFormatter } from '@tetherto/mdk-react-adapter'
import { useFormField, useSidebarExpandedState } from '@tetherto/mdk-react-devkit/core'
// Data hooks
import { useSitesOverviewData, usePoolStats, useDashboardTimeRange } from '@tetherto/mdk-react-adapter'