Docs

nextTokenIdToMint

Calls the "nextTokenIdToMint" function on the contract.

Example

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

Parameters

Returns

The parsed result of the function call.