Docs

getAllOffers

Retrieves all offers based on the provided options.

Example

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

Parameters

Returns

A promise that resolves to the offers array.