Buys out an English auction.
import { buyoutAuction } from "thirdweb/extensions/marketplace";import { sendTransaction } from "thirdweb"; const transaction = buyoutAuction({ contract, auctionId: 0n,}); await sendTransaction({ transaction, account });
function buyoutAuction( options: BaseTransactionOptions<BuyoutAuctionParams>,): PreparedTransaction<any, AbiFunction, PrepareTransactionOptions>;
The options for buying out the auction.
let options: BaseTransactionOptions<BuyoutAuctionParams>;
let returnType: PreparedTransaction< any, AbiFunction, PrepareTransactionOptions>;
A transaction that can be sent to buy out the auction.