useListings
Get all listings
Example
const {
data: listings,
isLoading,
error,
} = useListings(contract, { start: 0, count: 100 });
Parameters
Returns
a response object that includes an array of listings
type ReturnType = UseQueryResult<
AuctionListing | DirectListing[],
unknown
>;