useSiteHashrate
Projects the freshest hashrate sample from the dashboard's tail-log query. Shares the TanStack queryKey with @link useHashrateChartData, so subscribing here …
Projects the freshest hashrate sample from the dashboard's tail-log query. Shares the TanStack queryKey with {@link useHashrateChartData}, so subscribing here does NOT trigger an extra fetch — both hooks read the same cache entry.
import { useSiteHashrate } from "@tetherto/mdk-react-adapter";Signature
(params: UseSiteHashrateParams) => SiteHashrate| Package | @tetherto/mdk-react-adapter |
| Requires provider | No |
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…
useSiteMinerCounts
Counts active miners by status for the header `HeaderMinersBox`. Hits `/auth/list-things?status=1` with a tight projection (id, type, last.status only) so th…