DOCS

useDirectListingsCount

Get the total count of direct listings

Example

const {
  data: directListingsCount,
  isLoading,
  error,
} = useDirectListingsCount(contract);

Parameters

Returns

a response object that includes the direct listings count