Developer Hub
🔮 For applications
SDK
Other Hooks
useNativeBalance

Returns native token balance based on appChain.id.

Usage

import { useNativeBalance } from '@azuro-org/sdk'
 
const { balance, rawBalance, loading, error } = useNativeBalance()

Return Value

{
  balance: string | undefined
  rawBalance: bigint | undefined
  loading: boolean
  error: Error | null
}