typescript-sdk

Home > @3rdweb/sdk > ClaimConditionPhase > setPrice

ClaimConditionPhase.setPrice() method

Set the price claim condition for the drop.

Signature:

setPrice(price: BigNumberish, tokenAddress?: string): ClaimConditionPhase;

Parameters

Parameter Type Description
price BigNumberish The price of the currency in wei. Must be >= 0.
tokenAddress string The address of an ERC20 contract to use as the currency for the claim. By default this is the native currency address which is 0x0000000000000000000000000000000000000000 address.

Returns:

ClaimConditionPhase