Calls the "getClaimCondition" function on the contract.
import { ClaimableERC20 } from "thirdweb/modules"; const result = await ClaimableERC20.getClaimCondition({ contract,});
function getClaimCondition( options: BaseTransactionOptions,): Promise<{ allowlistMerkleRoot: `0x${string}`; auxData: string; availableSupply: bigint; currency: string; endTimestamp: number; maxMintPerWallet: bigint; pricePerUnit: bigint; startTimestamp: number;}>;
The options for the getClaimCondition function.
let options: { contract: ThirdwebContract<abi> } & T;
let returnType: Promise<{ allowlistMerkleRoot: `0x${string}`; auxData: string; availableSupply: bigint; currency: string; endTimestamp: number; maxMintPerWallet: bigint; pricePerUnit: bigint; startTimestamp: number;}>;
The parsed result of the function call.