useMinerDuplicateValidation
Async validation hook that flags duplicate miners against the device inventory (MAC / serial / IP / human-facing code).
Async validation hook that flags duplicate miners against the device inventory (MAC / serial / IP / human-facing code).
import { useMinerDuplicateValidation } from "@tetherto/mdk-react-adapter";Signature
() => { duplicateError: boolean; isDuplicateCheckLoading: boolean; checkDuplicate: (selectedEditSocket: { miner?: { id?: string | undefined; } | undefined; } | null, { macAddress, serialNumber, addre…| Package | @tetherto/mdk-react-adapter |
| Requires provider | No |