useInferBalance
Read the connected wallet's INFER token balance, including available balance and query credits.
import { useInferBalance } from 'flowstack-sdk/wallet'Returns the connected wallet's INFER token balance for display. Part of the flowstack-sdk/wallet entry point.
Signature
const { data, isLoading, error, refetch } = useInferBalance()Returns
| Field | Type | Description |
|---|---|---|
data | InferBalance | null | Balance object: { balance, available, queryCredits, balanceWei, heldWei, availableWei }. |
isLoading | boolean | Fetch in flight. |
error | string | null | Last error message. |
refetch | () => Promise<void> | Manually re-fetch the balance. |
See also
useAgentBalance · useDeposit · useBuyInfer · InferBalanceBadge
Source: README.md#useinferbalance · Also available in llms-full.txt and registry.json.