usePoolConfigs
Transforms raw pool-configuration rows from the host's API into `PoolSummary` objects for Pool Manager components.
Transforms raw pool-configuration rows from the host's API into `PoolSummary` objects for Pool Manager components.
import { usePoolConfigs } from "@tetherto/mdk-react-devkit";Signature
({ data, isLoading, error, }: Partial<UsePoolConfigsOptions>) => UsePoolConfigsResult| Package | @tetherto/mdk-react-devkit |
usePoolBalanceHistory
Fetches per-pool revenue/hashrate history from `GET /auth/pools/:pool/balance-history`. The query is disabled until a non-empty `pool` is supplied.
usePoolConfigsData
Fetches raw pool configurations from `GET /auth/configs/pool`. Returns the untransformed rows in the ` data, isLoading, error ` shape the devkit `usePoolConf…