Retrieves all offers based on the provided options.
import { getAllOffers } from "thirdweb/extensions/marketplace"; const listings = await getAllOffers({ contract, start: 0, count: 10,});
function getAllOffers( options: BaseTransactionOptions<GetAllOffersParams>,): Promise<Array<Offer>>;
The options for retrieving the offers.
let options: BaseTransactionOptions<GetAllOffersParams>;
let returnType: { asset: NFT; assetContractAddress: Address; currencyContractAddress: Address; currencyValue: GetBalanceResult; endTimeInSeconds: bigint; id: bigint; offerorAddress: Address; quantity: bigint; status: ListingStatus; tokenId: bigint; totalPrice: bigint;};
A promise that resolves to the offers array.