HashrateMiningUnitView
Hashrate drilldown grouped by mining unit / container - bar chart of the latest hashrate per container with an optional multi-select filter. Drops BE-leaked …
Hashrate drilldown grouped by mining unit / container - bar chart of the latest hashrate per container with an optional multi-select filter. Drops BE-leaked rollup keys (group-N, maintenance) via the utils layer.
import { HashrateMiningUnitView } from "@tetherto/mdk-react-devkit";| Prop | Status | Type | Default | Description |
|---|---|---|---|---|
log | Optional | HashrateGroupedLog | undefined | — | Hashrate log grouped by container / mining unit (groupBy=container). |
isLoading | Optional | boolean | undefined | — | — |
dateRange | Optional | HashrateDateRange | undefined | — | — |
onDateRangeChange | Optional | ((range: HashrateDateRange) => void) | undefined | — | — |
onReset | Optional | VoidFunction | undefined | — | — |
Usage
Mining-unit drilldown tab inside <Hashrate>. Bar chart of the latest
hashrate per container (Bitdeer 1A, MicroBT 1, ...), with an optional
multi-select filter. The utils layer drops BE-leaked rollup keys
(group-N, maintenance) so the consumer never sees them.
Example
import { HashrateMiningUnitView } from './mining-unit-view'export const HashrateMiningUnitViewExample = () => ( <div className="mdk-example-row"> <HashrateMiningUnitView isLoading={false} log={[]} /> </div>)HashrateMinerTypeView
Hashrate drilldown grouped by miner model - bar chart of the latest hashrate per miner type, with an optional multi-select filter.
HashrateSiteView
Site-level hashrate trend - aggregates hashrate across the whole site for the selected date range, with an optional miner-type filter that scopes the sum to …