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…
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 step with the corresponding chart cards. Pass `powerW` to swap the numerator in (e.…
import { useSiteEfficiency } from "@tetherto/mdk-react-adapter";Signature
(params: UseSiteEfficiencyParams) => SiteEfficiency| Package | @tetherto/mdk-react-adapter |
| Requires provider | No |
useSiteDetailMiners
Resolves the container that backs `selectedUnitId`, then returns the subset of miner devices assigned to that container. Both underlying queries are already …
useSiteHashrate
Projects the freshest hashrate sample from the dashboard's tail-log query. Shares the TanStack queryKey with @link useHashrateChartData, so subscribing here …