DOCS

useOffers

Get all the offers for a listing

Fetch all the offers for a specified direct or auction listing.

Example

const listingId = 0;
const {
  data: offers,
  isLoading,
  error,
} = useOffers(contract, listingId);

Parameters

Returns