QAF NFT
  • Getting Started
  • 📚TERMS/DOMAINS
    • Network
    • Project
    • Contract
    • Category
    • Nft Item
    • Nft Item Attribute
    • Project Token
    • Marketplace Fees
    • Marketplace Token
    • Marketplace Items
  • ⚙️API REFERENCE
    • Postman Collection
    • Authentication
    • NFT API
      • List Networks
      • Create Project
      • Get Project Detail
      • Filter Projects
      • Deploy Contract
      • Get Contract Detail
      • Filter Contracts
      • Add Category
      • Update Category
      • Delete Category
      • Get Category Detail
      • Filter Categories
      • Create Nft Item
      • Batch Create Nft Item
      • Validate Metadata File
      • Mint Nft Items
      • Update Nft Item Metadata
      • Set Nft Item Category
      • Get Nft Item Detail
      • Filter Nft Items
      • Add Nft Item Attribute
      • Update Nft Item Attribute
      • Delete Nft Item Attribute
      • Get Nft Item Attribute Detail
      • Filter Nft Item Attributes
      • Get Balance by Nft Item and Address
      • Get Balance by Address
      • Get Balance by Nft Item
      • Filter Nft Item Transfers
      • Deploy Project Token
      • Get Project Token Detail
      • Init Project Token Transfer
      • Client Token Transfer
      • Init Project Token Allowance
      • Check Project Token Allowance
      • Filter Project Tokens
      • Get Project Token Balance by Symbol and Address
      • Get Project Token Balance by Address
      • Get Project Token Balance by Symbol
      • Update Marketplace Royalty Fee
      • Filter Marketplace Fees
      • Add Marketplace Token
      • Get Marketplace Token Detail
      • Init Marketplace Token Allowance
      • Check Marketplace Token Allowance
      • Filter Marketplace Tokens
      • Init List Nft Item on Marketplace
      • Init Buy Nft Item from Marketplace
      • Init Cancel Listing from Marketplace
      • Get Marketplace Item Detail
      • Filter Marketplace Items
      • Init Transfer Nft Item
      • Init Transfer Nft Item to Client
      • Transfer Nft Item from Client
      • Init Lock Nft Item
      • Init Nft Approval Permission
      • Check Nft Item Approval Permission
      • Create Project Session
      • Get Project Session Detail
      • Filter Project Sessions
      • Create Off Chain Transaction
      • Get Off Chain Transaction
      • Filter Off Chain Transactions
      • Upload File
    • Error Codes
    • FAQ
      • How can I implement listing Nft Item on marketplace service properly?
      • How can I implement buy Nft Item from marketplace service properly?
Powered by GitBook
On this page
  • Filter Contracts
  • Example Response Body
  • Response Fields
  1. API REFERENCE
  2. NFT API

Filter Contracts

This service returns contracts with pagination

Filter Contracts

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

It returns list of contracts with pagination

Query Parameters

Name
Type
Description

page

Number

Represents page number. Default 0

id

Number

Represents contract's identifier.

orderDirection

String

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

size

Number

Represents content size. Default 10

address

String

Represents contract's deployed address

artifactName

String

Represents contract's name

type

String

Represents contract's type, it can be ERC721, ERC1155 or MARKETPLACE

Headers

Name
Type
Description

Authorization*

String

UUID formatted access token

PROJECT-ID*

String

UUID formatted project's identifier

{
    // Response
}
{
    // Response
}
{
    // Response
}
{
    // 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

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

PreviousGet Contract DetailNextAdd Category

Last updated 2 years ago

⚙️