useClaimConditions

Hook for fetching all claim conditions for a given drop contract.

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

Example

import { useClaimConditions, useContract } from "@thirdweb-dev/react";
function App() {
const { contract } = useContract(contractAddress);
const { data, isLoading, error } = useClaimConditions(contract);
}

Parameters

Returns

Query Result object with the list of claim conditions