getActiveClaimCondition

Retrieves the active claim condition.

Example

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

Parameters

The transaction options.

Type

let options: BaseTransactionOptions<GetActiveClaimConditionIdParams>;

Returns

let returnType: Promise<ClaimCondition>;

A promise that resolves to the active claim condition.