Skip to main content

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

Get an instance of a Marketplace contract

Signature:

getMarketplaceV3(contractAddress: string): Promise<import("..").MarketplaceV3>;

Parameters

ParameterTypeDescription
contractAddressstringthe address of the deployed contract

Returns:

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