Docs

setClaimConditions

Set the claim conditions for a ERC721 drop

Example

import { setClaimConditions } from "thirdweb/extensions/erc721";
const tx = setClaimConditions({
contract,
phases: [
{
maxClaimableSupply: 100n,
maxClaimablePerWallet: 1n,
currencyAddress: "0x...",
price: 0.1,
startTime: new Date(),
},
],
});

Parameters

Returns

the prepared transaction