MDK Logo

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";
PropStatusTypeDefaultDescription
logOptionalHashrateGroupedLog | undefinedHashrate log grouped by container / mining unit (groupBy=container).
isLoadingOptionalboolean | undefined
dateRangeOptionalHashrateDateRange | undefined
onDateRangeChangeOptional((range: HashrateDateRange) => void) | undefined
onResetOptionalVoidFunction | 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>)