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 });

Parameters

Returns

A transaction that can be sent to execute the sale.