typescript-sdk

Home > @3rdweb/sdk > NFTModule > isV1

NFTModule.isV1() method

Check if contract is v1 or v2. If the contract doesn’t have nextTokenIdToMint = v1 contract.

Signature:

isV1(): Promise<boolean>;

Returns:

Promise<boolean>