MDK Logo
UI Kitreact-adapterHooks

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 providerNo