getClaimConditions

Retrieves all claim conditions.

Example

import { getClaimConditions } from "thirdweb/extensions/erc20";
const conditions = await getClaimConditions({ contract });
function getClaimConditions(
): Promise<Array<ClaimCondition>>;

Parameters

The transaction options.

Type

let options: { contract: ThirdwebContract<abi> } & T;

Returns

let returnType: Promise<Array<ClaimCondition>>;

A promise that resolves to all claim conditions.