ThirdwebSDK.getNFTDrop() 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 dropContract = await sdk.getDropContract("0x1234...");
+ const dropContract = await sdk.getContract("0x1234...", "nft-drop");
Get an instance of a NFT Drop contract
Signature:
getNFTDrop(contractAddress: string): Promise<import("..").NFTDrop>;
Parameters
Parameter | Type | Description |
---|---|---|
contractAddress | string | the address of the deployed contract |
Returns:
Promise<import("..").NFTDrop>