nextTokenIdToMint

Calls the "nextTokenIdToMint" function on the contract.

Example

import { nextTokenIdToMint } from "thirdweb/extensions/erc1155";
const result = await nextTokenIdToMint({
contract,
});
function nextTokenIdToMint(
): Promise<bigint>;

Parameters

The options for the nextTokenIdToMint function.

Type

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

Returns

let returnType: Promise<bigint>;

The parsed result of the function call.