Docs

getAllValidListings

Retrieves all valid direct listings based on the provided options.

Example

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

Parameters

Returns

A promise that resolves to the direct listings array.