getAllValidAuctions

Retrieves all valid auctions based on the provided options.

Example

import { getAllValidAuctions } from "thirdweb/extensions/marketplace";
const validAuctions = await getAllValidAuctions({
contract,
start: 0,
count: 10,
});

Parameters

Returns

A promise that resolves to the valid auctions array.