useStaticMinerIpAssignment
Derives the static IP address a miner should receive based on its physical position (container number + socket coordinates).
Derives the static IP address a miner should receive based on its physical position (container number + socket coordinates).
import { useStaticMinerIpAssignment } from "@tetherto/mdk-react-adapter";Signature
(selectedEditSocket: Partial<SelectedEditSocket>) => { minerIp: string; setMinerIp: React.Dispatch<React.SetStateAction<string>>; isStaticIpAssignment: boolean; }| Package | @tetherto/mdk-react-adapter |
| Requires provider | No |
useSiteStatusLive
Polls `GET /auth/site/status/live?overwriteCache=true` every 5s for the composite site snapshot (hashrate, power, efficiency, miner / alert / pool counts). R…
useSubmitPendingActions
Submits the locally-staged `actionsStore` queue to the voting/approval workflow. This is the network half of the write flow: the devkit modals only *enqueue*…