queryClient
): ListingsQueryModule
Name | Type |
---|---|
queryClient | QueryClient |
ListingsQueryModule
first?
, skip?
): Promise
<ListingsResponse
>
Get all listings without any filters
Name | Type | Default value | Description |
---|---|---|---|
first | number | 100 | Number of items to fetch (default: 100) |
skip | number | 0 | Number of items to skip (default: 0) |
Promise
<ListingsResponse
>
Response with listings and pagination info
params?
, filters?
): Promise
<ListingsResponse
>
Get a list of listings based on filtering and pagination parameters
Name | Type | Description |
---|---|---|
params | PaginationParams | Pagination parameters |
filters | ListingFilters | Filtering options |
Promise
<ListingsResponse
>
List of listings with pagination info
id
): Promise
<null
| ListingObject
>
Get a single listing by its ID
Name | Type | Description |
---|---|---|
id | string | The listing ID (can be blockchain ID or graph entity ID) |
Promise
<null
| ListingObject
>
The listing or null if not found
licensorAddress
, params?
): Promise
<ListingsResponse
>
Get all listings from a specific licensor
Name | Type | Description |
---|---|---|
licensorAddress | `0x${string}` | Licensor’s address |
params | PaginationParams | Pagination parameters |
Promise
<ListingsResponse
>
List of listings with pagination info
params?
): Promise
<ListingsResponse
>
Get all active listings
Name | Type | Description |
---|---|---|
params | PaginationParams | Pagination parameters |
Promise
<ListingsResponse
>
List of active listings with pagination info