DOCS

useTokenBalance

Get token balance for a specific wallet

Example

const {
  data: balance,
  isLoading,
  error,
} = useTokenBalance(contract, "{{wallet_address}}");

Parameters

Returns

a response object that includes the balance of the address