Skip to main content

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

ParameterTypeDescription
contractAddressstringthe address of the deployed contract

Returns:

Promise<import("..").NFTDrop>