getActiveClaimCondition

Retrieves the active claim condition.

Example

import { getActiveClaimCondition } from "thirdweb/extensions/erc20";
const activeClaimCondition = await getActiveClaimCondition({
contract,
});
function getActiveClaimCondition(
): Promise<ClaimCondition>;

Parameters

The transaction options.

Type

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

Returns

let returnType: Promise<ClaimCondition>;

A promise that resolves to the active claim condition.