Calls the "getClaimConditionById" function on the contract.
import { getClaimConditionById } from "thirdweb/extensions/erc20"; const result = await getClaimConditionById({ contract, conditionId: ...,});
function getClaimConditionById( options: BaseTransactionOptions<GetClaimConditionByIdParams>,): Promise<{ currency: string; maxClaimableSupply: bigint; merkleRoot: `0x${string}`; metadata: string; pricePerToken: bigint; quantityLimitPerWallet: bigint; startTimestamp: bigint; supplyClaimed: bigint;}>;
The options for the getClaimConditionById function.
let options: BaseTransactionOptions<GetClaimConditionByIdParams>;
let returnType: Promise<{ currency: string; maxClaimableSupply: bigint; merkleRoot: `0x${string}`; metadata: string; pricePerToken: bigint; quantityLimitPerWallet: bigint; startTimestamp: bigint; supplyClaimed: bigint;}>;
The parsed result of the function call.