executeSale

Executes a sale for an English auction.

Example

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

Parameters

The options for executing the sale.

Type

Returns

let returnType: PreparedTransaction<
any,
AbiFunction,
>;

A transaction that can be sent to execute the sale.