usePlatform
SSR-safe React hook returning the detected client OS.
SSR-safe React hook returning the detected client OS.
import { usePlatform } from "@tetherto/mdk-react-adapter";Signature
() => PlatformResult| Package | @tetherto/mdk-react-adapter |
| Requires provider | No |
usePendingActions
Fetches submitted actions from `GET /auth/actions` — the server-side voting/approval queue (distinct from the local `actionsStore` staging buffer). Vote/canc…
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.