Treasureland
Search…
Request user's NFTs
Description:
Return user's all NFTs.
Request URL: /v1/account/assets
Request Method: GET
Request Parameters:
Name
Type
Mandatory
Description
owner
STRING
YES
User's wallet address
chain_id
STRING
YES
Current blockchain ID
contract
STRING
YES
Contract address
page_no
INT
NO
Current page, Default by 1
page_size
INT
NO
Default by 15
Request Example:
https://api.treasureland.market/v1/account/assets?chain_id=1&contract=0xef5236aaa9c5ac41db844fade25f7a6b5a3b80fb&owner=0x2b7c3410cddc69f05478727badbfc59df6154a14&page_no=1&page_size=10
Response Demo
1
{
2
"code": 0,
3
"message": "Success",
4
"data": {
5
"list": [{
6
"chain_id": 1,
7
"contract": "0xef5236aaa9c5ac41db844fade25f7a6b5a3b80fb",
8
"token_id": "248256431107065412218111811094877356605774547264",
9
"owner": "0x2b7c3410cddc69f05478727badbfc59df6154a14",
10
"name": "BestFooter",
11
"resource": "https://ipfs.io/ipfs/QmfKEuB4ymDskKU9oqTgLdfbyuZ4Q2gPLEU4cm8dKT2CFj",
12
"resource_type": "image",
13
"token_uri": "https://ipfs.io/ipfs/QmVo5ckM4VVxkWYdymhpwpUf9CrXtinzFsdFASo3BzTmDH",
14
"collect_name": "ETHLazymint721",
15
"erc_type": "erc721",
16
"price": "0",
17
"on_sale": false,
18
"order_id": 0,
19
"amount": "1",
20
"thumb": "https://ipfs.io/ipfs/QmfKEuB4ymDskKU9oqTgLdfbyuZ4Q2gPLEU4cm8dKT2CFj"
21
}],
22
"dataCount": 1,
23
"pageSize": 1000,
24
"pageNo": 1
25
}
26
}
27
Copied!
Copy link