MDK Logo
UI Kitreact-adapterHooks

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 "…

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 "denominator" of the `<HeaderMinersBox />` row: e.g. the `2,188` in `158 / 2,188`.

import { useSiteContainerCapacity } from "@tetherto/mdk-react-adapter";

Signature

(options: UseSiteContainerCapacityOptions = {}) => SiteContainerCapacity
Package@tetherto/mdk-react-adapter
Requires providerNo