useClaimerProofs

Hook to get the claimer proofs for an address for ERC20 , ERC721 , and ERC1155 drop contracts.

A claimer proof is a set of data about a claimer's claim condition, including the claimer's address, the claimer's proof, and the claimer's max claimable amount, price, and currency address.

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

Example

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

Parameters

Returns

Query result object with the snapshot for the provided address