Set the claim conditions for a ERC1155 drop
import { setClaimConditions } from "thirdweb/extensions/erc1155";import { sendTransaction } from "thirdweb"; const transaction = setClaimConditions({ contract, tokenId: 0n, phases: [ { maxClaimableSupply: 100n, maxClaimablePerWallet: 1n, currencyAddress: "0x...", price: 0.1, startTime: new Date(), }, ],}); await sendTransaction({ transaction, account });
function setClaimConditions( options: BaseTransactionOptions<SetClaimConditionsParams>,): PreparedTransaction<any, AbiFunction, PrepareTransactionOptions>;
let options: BaseTransactionOptions<SetClaimConditionsParams>;
let returnType: PreparedTransaction< any, AbiFunction, PrepareTransactionOptions>;
the prepared transaction