HashrateMinerTypeView
Hashrate drilldown grouped by miner model - bar chart of the latest hashrate per miner type, with an optional multi-select filter.
Hashrate drilldown grouped by miner model - bar chart of the latest hashrate per miner type, with an optional multi-select filter.
import { HashrateMinerTypeView } from "@tetherto/mdk-react-devkit";| Prop | Status | Type | Default | Description |
|---|---|---|---|---|
log | Optional | HashrateGroupedLog | undefined | — | Hashrate log grouped by miner type (groupBy=miner). |
isLoading | Optional | boolean | undefined | — | — |
dateRange | Optional | HashrateDateRange | undefined | — | — |
onDateRangeChange | Optional | ((range: HashrateDateRange) => void) | undefined | — | — |
onReset | Optional | VoidFunction | undefined | — | — |
Usage
Miner-type drilldown tab inside <Hashrate>. Bar chart of the latest
hashrate per miner type (Antminer, WhatsMiner, ...), with an optional
multi-select filter and a date-range picker that drives the host query.
Example
import { HashrateMinerTypeView } from './miner-type-view'export const HashrateMinerTypeViewExample = () => ( <div className="mdk-example-row"> <HashrateMinerTypeView isLoading={false} log={[]} /> </div>)Hashrate
Top-level hashrate reporting section - composes the site / miner-type / mining-unit drilldowns into a tabbed shell. Each tab fetches independently because th…
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 …