Treasureland
Search…
Request NFT Collections
To retrieve all collections of a specific blockchain with the desired filter parameters.
Description: Return specific blockchain all collections on Treasureland.
Request URL: /v1/account/collects
Request Method: GET
Request Parameters:
Name
Type
Mandatory
Description
address
STRING
YES
User wallet address
chain_id
STRING
YES
Current blockchain ID
Request Example:
https://api.treasureland.market/v1/account/collects?address=0xef5236aaa9c5ac41db844fade25f7a6b5a3b80fb&chain_id=56
Response Demo
1
{
2
"code": 0,
3
"message": "Success",
4
"data": {
5
"items": [
6
{
7
"id": 153,
8
"chain_id": 1,
9
"cat_id": 21,
10
"cat_slug": "",
11
"title": "ETHLazymint721", // NFT project name
12
"name": "",
13
"symbol": "",
14
"address": "0xef5236aaa9c5ac41db844fade25f7a6b5a3b80fb", // Contract address
15
"erc_type": "", // erc721 || erc1155
16
"logo": "images/official/dc20bb9789933f80a88aeeb4b2428729.png",
17
"is_show": 0,
18
"nft_count": 1, // NFT amount
19
},
20
]
21
}
22
}
Copied!
Last modified 19d ago
Copy link