MDK Logo
UI Kitreact-adapterHooks

usePools

Fetches aggregated pools from `GET /auth/pools` (hashrate / workers / balance / revenue / summary). Feeds the Dashboard pool panel — distinct from `usePoolCo…

Fetches aggregated pools from `GET /auth/pools` (hashrate / workers / balance / revenue / summary). Feeds the Dashboard pool panel — distinct from `usePoolConfigsData` (`/auth/configs/pool`), which drives the editable Pools list.

import { usePools } from "@tetherto/mdk-react-adapter";

Signature

(options: UsePoolsOptions = {}) => UsePoolsResult
Package@tetherto/mdk-react-adapter
Requires providerNo