Docs

nextTokenIdToMint

Calls the "nextTokenIdToMint" function on the contract.

Example

import { nextTokenIdToMint } from "thirdweb/extensions/erc1155";
const result = await nextTokenIdToMint({
contract,
});

Parameters

Returns

The parsed result of the function call.