Docs

getAllValidOffers

Retrieves all valid offers based on the provided options.

Example

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

Parameters

Returns

A promise that resolves to the offers array.