useSiteDetailMiners
Resolves the container that backs `selectedUnitId`, then returns the subset of miner devices assigned to that container. Both underlying queries are already …
Resolves the container that backs `selectedUnitId`, then returns the subset of miner devices assigned to that container. Both underlying queries are already issued by the PoolManager page, so React Query deduplicates them — no extra networ…
import { useSiteDetailMiners } from "@tetherto/mdk-react-adapter";Signature
(selectedUnitId: string | null) => UseSiteDetailMinersResult| Package | @tetherto/mdk-react-adapter |
| Requires provider | No |
useSiteContainerCapacity
Reads the aggregated nominal miner capacity across the site's containers — i.e. the maximum number of miners the facility was designed to host. Used as the "…
useSiteEfficiency
Derives W/TH/s from the latest consumption + hashrate samples. Reuses both existing tail-log queries (no extra fetch) so the header efficiency box stays in s…