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 provider | No |
usePoolRows
Returns one row per configured mining pool, ready for the `MiningPoolsPanel` table. Reuses the same TanStack queryKey as @link usePoolStats so subscribing he…
usePoolStats
Aggregates per-pool worker counts and hashrate from `GET /auth/ext-data?type=minerpool&query="key":"stats"`. Returns the `total`, `online`, and `mismatch` tr…