Skip to main content

DropErc1155ClaimConditions.update() method

Update a single claim condition with new data.

Signature:

update(tokenId: BigNumberish, index: number, claimConditionInput: ClaimConditionInput): Promise<TransactionResult>;

Parameters

ParameterTypeDescription
tokenIdBigNumberishthe token id to update
indexnumberthe index of the claim condition to update, as given by the index from the result of getAll()
claimConditionInputClaimConditionInputthe new data to update, previous data will be retained

Returns:

Promise<TransactionResult>