getClaimConditions

Retrieves all claim conditions.

Example

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

Parameters

The transaction options.

Type

Returns

let returnType: Promise<Array<ClaimCondition>>;

A promise that resolves to all claim conditions.