typescript-sdk

Home > @3rdweb/sdk > IMarketplace > buyoutDirectListing

IMarketplace.buyoutDirectListing() method

Buyout the listing based on the buyout price.

The offer must be higher as high as the buyout price in order for this buyout to succeed. If the buyout is too low, the method will throw an error.

Signature:

buyoutDirectListing(buyout: {
        listingId: BigNumberish;
        quantityDesired: BigNumberish;
    }): Promise<void>;

Parameters

Parameter Type Description
buyout { listingId: BigNumberish; quantityDesired: BigNumberish; }  

Returns:

Promise<void>