ThirdwebSDK.getNFTCollection() method
Warning: This API is now obsolete.
This method is deprecated and will be removed in a future major version. You should use instead.
- const signatureDrop = await sdk.getNFTCollection("0x1234...");
+ const signatureDrop = await sdk.getContract("0x1234...", "nft-collection");
Get an instance of a NFT Collection Drop contract
Signature:
getNFTCollection(contractAddress: string): Promise<import("..").NFTCollection>;
Parameters
Parameter | Type | Description |
---|---|---|
contractAddress | string | the address of the deployed contract |
Returns:
Promise<import("..").NFTCollection>