useValidDirectListings
Hook to get a list of valid direct listings from a Marketplace V3 contract.
A listing is considered valid if the:
Seller still owns the NFT
Listing has not expired (time is before
endTimeInSeconds)Listing has not been canceled
Listing has not been bought out (all
quantityof the NFTs have not been purchased)
Note: This hook is only for Marketplace V3 contracts.
For Marketplace contracts, use useActiveListings instead.
Example
Parameters
Returns
The hook's data property, once loaded, is an array of DirectListingV3 objects, each containing the following properties: