Beta
an instance of a DropContract
Optional
tokenId: BigNumberisha mutation object that can be used to reset claim conditions
const Component = () => {
const { contract } = useContract("{{contract_address}}");
const {
mutate: resetClaimConditions,
isLoading,
error,
} = useResetClaimConditions(contract);
if (error) {
console.error("failed to reset claim conditions", error);
}
return (
<button
disabled={isLoading}
onClick={resetClaimConditions}
>
Reset Claim Conditions
</button>
);
};
ERC20ClaimPhasesV2 | ERC20ClaimPhasesV1 | ERC20ClaimConditionsV2 | ERC20ClaimConditionsV1 | ERC721ClaimPhasesV2 | ERC721ClaimPhasesV1 | ERC721ClaimConditionsV2 | ERC721ClaimConditionsV1 | ERC1155ClaimPhasesV2 | ERC1155ClaimPhasesV1 | ERC1155ClaimConditionsV2 | ERC1155ClaimConditionsV1
Generated using TypeDoc
Reset claim conditions