Skip to main content

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

Get an instance of a Marketplace contract

Signature:

getMarketplace(contractAddress: string): Promise<import("..").Marketplace>;

Parameters

ParameterTypeDescription
contractAddressstringthe address of the deployed contract

Returns:

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