DOCS

useDirectListings

Get all direct listings

Example

const {
  data: directListings,
  isLoading,
  error,
} = useDirectListings(contract, { start: 0, count: 100 });

Parameters

Returns

a response object that includes an array of direct listings