nextTokenId

Calls the "nextTokenId" function on the contract.

Example

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

Parameters

Returns

The parsed result of the function call.