Filter Marketplace Fees

This service returns marketplace fees with pagination

Filter Marketplace Fees

GET {{server-url}}/marketplace-fees/filter

It returns list of marketplace fees with pagination

Query Parameters

NameTypeDescription

page

Number

Represents page number. Default 0

orderDirection

String

Represents order direction. It can be ASC or DESC. Default DESC

size

Number

Represents content size. Default 10

id

Number

Represents marketplace fee's identifier.

contractId

Number

Represents marketplace contract's identifier

Headers

NameTypeDescription

Authorization*

String

UUID formatted access token

PROJECT-ID*

String

UUID formatted project's identifier

{
    // Response
}

Example Response Body

{
    "data": {
        "content": [
            {
                "id": 1234,
                "buyerFee": 2,
                "sellerFee": 4,
                "royaltyFee": 10,
                "contract": {
                    "id": 536,
                    "address": "0xd39077cfB4FBa3f373045AEF798E41f10c59e88c",
                    "artifactName": "QafMarketplace",
                    "type": "MARKETPLACE",
                    "projectId": "b2e5ab50-f3d5-43ed-8761-eeba5913a72c"
                }
            }
        ],
        "pageable": {
            "sort": {
                "sorted": true,
                "unsorted": false,
                "empty": false
            },
            "pageNumber": 0,
            "pageSize": 10,
            "offset": 0,
            "paged": true,
            "unpaged": false
        },
        "totalPages": 1,
        "totalElements": 1,
        "last": true,
        "numberOfElements": 1,
        "number": 0,
        "first": true,
        "size": 10,
        "sort": {
            "sorted": true,
            "unsorted": false,
            "empty": false
        },
        "empty": false
    },
    "message": null,
    "code": 0,
    "error": false
}

Response Fields

KeyTypeDescription

id

Number

Represents marketplace fee's identifier.

sellerFee

Number

Represents marketplace item seller's fee.

buyerFee

Number

Represents marketplace item buyer's fee.

royaltyFee

Number

Represents marketplace item seller's royalty fee.

contract

Object

Represents marketplace's contract informations

Last updated