QAF Draft
Search…
⌃K

Filter Contracts

This service returns contracts with pagination
get
{{server-url}}
/contracts/filter
Filter Contracts

Example Response Body

{
"data": {
"content": [
{
"id": 539,
"address": "0x1ac7a0A23648CB31Ff2117369b0Ab42331D06120",
"artifactName": "QafMarketplace",
"type": "MARKETPLACE",
"projectId": "b2e5ab50-f3d5-43ed-8761-eeba5913a72c"
},
{
"id": 536,
"address": "0xd39077cfB4FBa3f373045AEF798E41f10c59e88c",
"artifactName": "Qaf1155",
"type": "ERC1155",
"projectId": "b2e5ab50-f3d5-43ed-8761-eeba5913a72c"
},
{
"id": 533,
"address": "0xe93cc426001eA2b5972Bd36F6b9744E9B4885b16",
"artifactName": "Qaf721",
"type": "ERC721",
"projectId": "b2e5ab50-f3d5-43ed-8761-eeba5913a72c"
}
],
"pageable": {
"sort": {
"unsorted": false,
"sorted": true,
"empty": false
},
"pageNumber": 0,
"pageSize": 10,
"offset": 0,
"paged": true,
"unpaged": false
},
"totalPages": 1,
"totalElements": 3,
"last": true,
"numberOfElements": 3,
"number": 0,
"sort": {
"unsorted": false,
"sorted": true,
"empty": false
},
"first": true,
"size": 10,
"empty": false
},
"message": null,
"code": 0,
"error": false
}

Response Fields

Key
Type
Description
id
Number
Represents contract's identifier.
address
String
Represents contract's address
artifactName
String
Represents contract's name
type
String
Represents contract's type, it can be ERC721, ERC1155 or MARKETPLACE
projectId
String
UUID formatted project identifier