queryClient
): AgreementsQueryModule
Name | Type |
---|---|
queryClient | QueryClient |
AgreementsQueryModule
params?
, filters?
): Promise
<AgreementsResponse
>
Get a list of agreements based on filtering and pagination parameters
Name | Type | Description |
---|---|---|
params | PaginationParams | Pagination parameters |
filters | AgreementFilters | Filtering options |
Promise
<AgreementsResponse
>
List of agreements with pagination info
id
): Promise
<null
| AgreementObject
>
Get a single agreement by its ID
Name | Type | Description |
---|---|---|
id | string | The agreement ID |
Promise
<null
| AgreementObject
>
The agreement or null if not found
licenseeAddress
, params?
): Promise
<AgreementsResponse
>
Get all agreements for a specific licensee
Name | Type | Description |
---|---|---|
licenseeAddress | `0x${string}` | Licensee’s address |
params | PaginationParams | Pagination parameters |
Promise
<AgreementsResponse
>
List of agreements with pagination info
licensorAddress
, params?
): Promise
<AgreementsResponse
>
Get all agreements for a specific licensor
Name | Type | Description |
---|---|---|
licensorAddress | `0x${string}` | Licensor’s address |
params | PaginationParams | Pagination parameters |
Promise
<AgreementsResponse
>
List of agreements with pagination info
listingId
, params?
): Promise
<AgreementsResponse
>
Get all agreements for a specific listing
Name | Type | Description |
---|---|---|
listingId | string | Listing ID |
params | PaginationParams | Pagination parameters |
Promise
<AgreementsResponse
>
List of agreements with pagination info
params?
): Promise
<AgreementsResponse
>
Get all binding agreements (stage 4)
Name | Type | Description |
---|---|---|
params | PaginationParams | Pagination parameters |
Promise
<AgreementsResponse
>
List of binding agreements with pagination info