DOCS

useListingsCount

Get the total count of listings

Example

const {
  data: listingsCount,
  isLoading,
  error,
} = useListingsCount(contract);

Parameters

Returns

a response object that includes the listing count