Retrieves all auctions based on the provided options.
import { getAllAuctions } from "thirdweb/extensions/marketplace"; const listings = await getAllAuctions({ contract, start: 0, count: 10,});
function getAllAuctions( options: BaseTransactionOptions<GetAllAuctionParams>,): Promise<Array<EnglishAuction>>;
The options for retrieving the auctions.
let options: BaseTransactionOptions<GetAllAuctionParams>;
let returnType: { asset: NFT; assetContractAddress: Address; bidBufferBps: bigint; buyoutBidAmount: bigint; buyoutCurrencyValue: GetBalanceResult; creatorAddress: Address; currencyContractAddress: Address; endTimeInSeconds: bigint; id: bigint; minimumBidAmount: bigint; minimumBidCurrencyValue: GetBalanceResult; quantity: bigint; startTimeInSeconds: bigint; status: ListingStatus; timeBufferInSeconds: bigint; tokenId: bigint; type: "english-auction";};
A promise that resolves to the auctions array.