Skip to main content

ThirdwebSDK.getEdition() 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 edition = await sdk.getEdition("0x1234...");
+ const edition = await sdk.getContract("0x1234...", "edition");

Get an instance of a Edition contract

Signature:

getEdition(contractAddress: string): Promise<import("..").Edition>;

Parameters

ParameterTypeDescription
contractAddressstringthe address of the deployed contract

Returns:

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