typescript-sdk

Home > @3rdweb/sdk > ClaimConditionFactory > fromPublicClaimConditions

ClaimConditionFactory.fromPublicClaimConditions() method

Converts a set of generic PublicClaimConditions into a ClaimConditionFactory

Signature:

fromPublicClaimConditions(conditions: PublicClaimCondition[]): this;

Parameters

Parameter Type Description
conditions PublicClaimCondition[] The conditions to load, should be returned directly from the contract.

Returns:

this