Skip to main content

DropClaimConditions.update() method

Update a single claim condition with new data.

Signature:

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

Parameters

ParameterTypeDescription
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>