Table of contents
Methods
constructor
• new ListingsQueryModule(queryClient): ListingsQueryModule
Parameters
Returns
ListingsQueryModule
Methods
getAll
▸ getAll(first?, skip?): Promise<ListingsResponse>
Get all listings without any filters
Parameters
Returns
Promise<ListingsResponse>
Response with listings and pagination info
getListings
▸ getListings(params?, filters?): Promise<ListingsResponse>
Get a list of listings based on filtering and pagination parameters
Parameters
Returns
Promise<ListingsResponse>
List of listings with pagination info
getListingById
▸ getListingById(id): Promise<null | ListingObject>
Get a single listing by its ID
Parameters
Returns
Promise<null | ListingObject>
The listing or null if not found
getListingsByLicensor
▸ getListingsByLicensor(licensorAddress, params?): Promise<ListingsResponse>
Get all listings from a specific licensor
Parameters
Returns
Promise<ListingsResponse>
List of listings with pagination info
getActiveListings
▸ getActiveListings(params?): Promise<ListingsResponse>
Get all active listings
Parameters
Returns
Promise<ListingsResponse>
List of active listings with pagination info
