MDK Logo
UI Kitreact-adapterHooks

useMiners

Fetches miners with their assigned `poolConfig` from `GET /auth/miners`. Unwraps the paginated response envelope and returns the page rows for the Miner Expl…

Fetches miners with their assigned `poolConfig` from `GET /auth/miners`. Unwraps the paginated response envelope and returns the page rows for the Miner Explorer table plus the site-wide `totalCount`; row shaping (status mapping, pool labe…

import { useMiners } from "@tetherto/mdk-react-adapter";

Signature

(options: UseMinersOptions = {}) => UseMinersResult
Package@tetherto/mdk-react-adapter
Requires providerNo