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