MDK Logo
UI Kitreact-adapterHooks

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.

Fetches per-pool revenue/hashrate history from `GET /auth/pools/:pool/balance-history`. The query is disabled until a non-empty `pool` is supplied.

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

Signature

(pool: string, options: UsePoolBalanceHistoryOptions = {}) => UsePoolBalanceHistoryResult
Package@tetherto/mdk-react-adapter
Requires providerNo