getActiveClaimCondition

Retrieves the active claim condition.

Example

import { getActiveClaimCondition } from "thirdweb/extensions/erc1155";
const activeClaimCondition = await getActiveClaimCondition({
contract,
tokenId,
});

Parameters

Returns

A promise that resolves to the active claim condition.