Skip to main content

MarketplaceAuction.executeSale() method

Execute the Auction Sale

Example

// The listing ID of the auction listing you want to close
const listingId = "0";
await contract.auction.executeSale(listingId);

Signature:

executeSale(listingId: BigNumberish): Promise<ethers.providers.TransactionReceipt>;

Parameters

ParameterTypeDescription
listingIdBigNumberishthe auction listing ud to close

Returns:

Promise<ethers.providers.TransactionReceipt>

Remarks

Closes the Auction and executes the sale for both parties.