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
Get token balance for a specific wallet
const {
data: balance,
isLoading,
error,
} = useTokenBalance(contract, "{{wallet_address}}");
a response object that includes the balance of the address