Filter Contracts

This service returns contracts with pagination

Filter Contracts

GET {{server-url}}/contracts/filter

It returns list of contracts with pagination

Query Parameters

Headers

{
    // Response
}

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

Last updated