claimCondition

Calls the "claimCondition" function on the contract.

Example

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

Parameters

The options for the claimCondition function.

Type

let options: BaseTransactionOptions<ClaimConditionParams>;

Returns

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

The parsed result of the function call.