useListings
Get all listings
Example
const {
data: listings,
isLoading,
error,
} = useListings(contract, { start: 0, count: 100 });
Parameters
Returns
a response object that includes an array of listings
Get all listings
const {
data: listings,
isLoading,
error,
} = useListings(contract, { start: 0, count: 100 });
a response object that includes an array of listings