Skip to main content
Configuration options for useBalances hook

Properties

PropertyTypeDescription
accountAddress?stringAccount address to fetch balances for If not provided, uses the authenticated account from useEmailAuth
queryParams?GetAccountBalancesQueryParamsQuery parameters for pagination Defaults to limit 10 and page 1
enabled?booleanEnable or disable automatic fetching Default: true
refetchOnWindowFocus?booleanRefetch balances when window regains focus Default: false
staleTime?numberTime in milliseconds that data is considered fresh Default: 10000 (10 seconds)