useSiteStatusLive
Polls `GET /auth/site/status/live?overwriteCache=true` every 5s for the composite site snapshot (hashrate, power, efficiency, miner / alert / pool counts). R…
Polls `GET /auth/site/status/live?overwriteCache=true` every 5s for the composite site snapshot (hashrate, power, efficiency, miner / alert / pool counts). Returns the raw typed payload for a hook or component to shape into dashboard cards.
import { useSiteStatusLive } from "@tetherto/mdk-react-adapter";Signature
(options: UseSiteStatusLiveOptions = {}) => UseSiteStatusLiveResult| Package | @tetherto/mdk-react-adapter |
| Requires provider | No |
useSitesOverviewData
Projects raw site-overview rows into a `PoolManagerSitesOverview`- ready shape: each container gets its per-container hashrate (in MH/s), an attached pool-st…
useStaticMinerIpAssignment
Derives the static IP address a miner should receive based on its physical position (container number + socket coordinates).