useActiveListings
Get all active listings
Example
const {
data: listings,
isLoading,
error,
} = useActiveListings(contract, {
seller: "{{wallet_address}}",
tokenContract: "0x...",
tokenId: 1,
start: 0,
count: 100,
});
Parameters
Returns
a response object that includes an array of listings