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 |