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 });
function buyoutAuction(

Parameters

The options for buying out the auction.

Type

Returns

let returnType: PreparedTransaction<
any,
AbiFunction,
>;

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