buyoutAuction

Buys out an English auction.

Example

import { buyoutAuction } from "thirdweb/extensions/marketplace";
import { sendTransaction } from "thirdweb";
const transaction = buyoutAuction({
contract,
auctionId: 0n,
});
await sendTransaction({ transaction, account });

Parameters

Returns

A transaction that can be sent to buy out the auction.