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