Docs

getAllListings

Retrieves all direct listings based on the provided options.

Example

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

Parameters

Returns

A promise that resolves to the direct listings array.