useDirectListing
Get a direct listing
Example
const listingId = 0; // the listing id to check
const {
data: directListing,
isLoading,
error,
} = useListing(contract, listingId);
Parameters
Returns
a response object that includes the desired direct listing