Sets the claim conditions for a given token ID.
import { ClaimableERC721 } from "thirdweb/modules"; const transaction = ClaimableERC721.setClaimCondition({ contract: contract, pricePerToken: "1", // in ETH maxClaimableSupply: "1000000", maxClaimablePerWallet: "1",}); await sendTransaction({ transaction, account });
function setClaimCondition( options: BaseTransactionOptions<ClaimConditionInput>,): PreparedTransaction<any, AbiFunction, PrepareTransactionOptions>;
The options for setting the claim conditions.
let options: BaseTransactionOptions<ClaimConditionInput>;
let returnType: PreparedTransaction< any, AbiFunction, PrepareTransactionOptions>;
A transaction to set the claim conditions.