claimCondition

Calls the "claimCondition" function on the contract.

Example

import { claimCondition } from "thirdweb/extensions/erc20";
const result = await claimCondition({
contract,
});
function claimCondition(
): Promise<
readonly [
bigint,
bigint,
bigint,
bigint,
`0x${string}`,
bigint,
string,
string,
]
>;

Parameters

The options for the claimCondition function.

Type

let options: { contract: ThirdwebContract<abi> } & T;

Returns

let returnType: Promise<
readonly [
bigint,
bigint,
bigint,
bigint,
`0x${string}`,
bigint,
string,
string,
]
>;

The parsed result of the function call.