Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
useBalance – HyperGate
Skip to content

useAccount

Hook to get the current balance of the account. It supports XRP balance and token balances.

Usage

 
import { useBalance } from "@hyper-gate/react";
 
export function App() {
  const 
const balance: UseQueryReturnType<{ decimals: number; symbol: string; value: bigint; }, GetBalanceErrorType>
balance
= useBalance();
}