useListingsCount
Hook for getting the total number of listings on a Marketplace contract.
This hook is only available for Marketplace contracts
If you are using Marketplace V3 ,
use useDirectListingsCount or useEnglishAuctionsCount instead.
Example
Parameters
Returns
The hook's data property, once loaded, is a BigNumber containing the total number of listings on the contract.