Fetch All Listed NFTs

This API is for getting the list of all NFTs added for sales


GRAPHQL


Headers

FieldsTypeDescriptionExampleData Management
URLstring{base_url}/users
GRAPHQLstringQUERY
content-typestringJSONapplication/json

Request

{
  list_all_selling_nfts(page_size: 2, page_number: 1) {
    message
    data {
      _id
      amount
      is_sold
      seller_id
    }
    hasMore
  }
}

Request Parameters

FieldsTypeDescriptionRequired
page_sizeintegertotal number of data to be displayed
page_numberintegerpage number to filter data

Success

{
    "data": {
        "list_all_selling_nfts": {
            "message": "data listed",
            "data": [
                {
                    "_id": "62511d083b5ded111f2bf507",
                    "amount": 40000000,
                    "is_sold": false,
                    "seller_id": "62299c9254f6c2bcd4b2f09a"
                }
            ],
            "hasMore": false
        }
    }
}

Error