useOffers
Hook for getting all of the offers made on a
direct listing on a Marketplace
contract.
Example
Parameters
Returns
This hook uses the useEvents
hook under the hood to fetch NewOffer
events for the given listing ID.
The return value is an array of NewOffer
event objects. Each event object has the following properties: