Executes a sale for an English auction.
import { executeSale } from "thirdweb/extensions/marketplace";import { sendTransaction } from "thirdweb"; const transaction = executeSale({ contract, auctionId: 0n,}); await sendTransaction({ transaction, account });
function executeSale( options: BaseTransactionOptions<ExecuteSaleParams>,): PreparedTransaction<any, AbiFunction, PrepareTransactionOptions>;
The options for executing the sale.
let options: BaseTransactionOptions<ExecuteSaleParams>;
let returnType: PreparedTransaction< any, AbiFunction, PrepareTransactionOptions>;
A transaction that can be sent to execute the sale.