Home > @3rdweb/sdk > IMarketplace > buyoutDirectListing
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>;
Parameter | Type | Description |
---|---|---|
buyout | { listingId: BigNumberish; quantityDesired: BigNumberish; } |
Returns:
Promise<void>