Docs

getAllAuctions

Retrieves all auctions based on the provided options.

Example

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

Parameters

Returns

A promise that resolves to the auctions array.