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
{
"code": 0,
"message": "Success",
"data": {
"list": [{
"chain_id": 1,
"contract": "0xef5236aaa9c5ac41db844fade25f7a6b5a3b80fb",
"token_id": "248256431107065412218111811094877356605774547264",
"owner": "0x2b7c3410cddc69f05478727badbfc59df6154a14",
"name": "BestFooter",
"resource": "https://ipfs.io/ipfs/QmfKEuB4ymDskKU9oqTgLdfbyuZ4Q2gPLEU4cm8dKT2CFj",
"resource_type": "image",
"token_uri": "https://ipfs.io/ipfs/QmVo5ckM4VVxkWYdymhpwpUf9CrXtinzFsdFASo3BzTmDH",
"collect_name": "ETHLazymint721",
"erc_type": "erc721",
"price": "0",
"on_sale": false,
"order_id": 0,
"amount": "1",
"thumb": "https://ipfs.io/ipfs/QmfKEuB4ymDskKU9oqTgLdfbyuZ4Q2gPLEU4cm8dKT2CFj"
}],
"dataCount": 1,
"pageSize": 1000,
"pageNo": 1
}
}
Copy link