Hook for fetching the reasons a wallet is not eligible to claim tokens from a drop, if any.

This is available for available for contracts that implement the "ClaimConditions" interface; such as NFT Drop , Edition Drop , and Token Drop .


import { useClaimIneligibilityReasons, useContract } from "@thirdweb-dev/react";
function App() {
const { contract } = useContract(contractAddress);
const { data, isLoading, error } = useClaimIneligibilityReasons(contract, {
walletAddress: "0x123...", // Use useAddress hook to get the user's wallet address
quantity: 1, // Quantity to check eligibility for



The hook's data property, once loaded, contains an array of ClaimEligibility strings, which may be empty.

For example, if the user is not in the allowlist, this hook will return ["This address is not on the allowlist."] .

If the user is eligible to claim tokens, the hook will return an empty array.