typescript-sdk

Home > @3rdweb/sdk > MarketplaceModule > buyoutAuctionListing

MarketplaceModule.buyoutAuctionListing() method

Buyout Auction

Signature:

buyoutAuctionListing(listingId: BigNumberish): Promise<void>;

Parameters

Parameter Type Description
listingId BigNumberish  

Returns:

Promise<void>

Remarks

Buy a specific direct listing from the marketplace.

Example

// The listing ID of the asset you want to buy
const listingId = 0;

await module.buyoutAuctionListing(listingId);