0% found this document useful (0 votes)
21 views3 pages

Retrive User Airdrop Rewards

This endpoint retrieves a user's favorited NFT collection addresses from their profile, requiring an API key, wallet address, and auth token in the request header. Successful responses return an empty array if the user has no favorited collections, while invalid or missing authentication parameters return an "Unauthorized" response.

Uploaded by

Lipi's Khazana
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views3 pages

Retrive User Airdrop Rewards

This endpoint retrieves a user's favorited NFT collection addresses from their profile, requiring an API key, wallet address, and auth token in the request header. Successful responses return an empty array if the user has no favorited collections, while invalid or missing authentication parameters return an "Unauthorized" response.

Uploaded by

Lipi's Khazana
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Retrieve User Portfolio Collections

Base URI : https://nfttools.pro/blur

Endpoint : /v1/user/collections/favorited-addresses

Description : This end point retrieve user collections hidden address.

API Call : GET

Case 1 : User should be able to retrieve the user collections favorited address successfully.

Request URL : http://nfttools.pro/blur/v1/user/collections/favorited-addresses

Header :
X-NFT-API-Key : e55a42c9-cfda-4154-9b3d-fc779cc14afb
walletAddress : 0x38B435F08A9a7D5BBF7337D5853419674d3B8ce1
authToken :
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ3YWxsZXRBZGRyZXNzIjoiMHgzO
GI0MzVmMDhhOWE3ZDViYmY3MzM3ZDU4NTM0MTk2NzRkM2I4Y2UxIiwic2lnb
mF0dXJlIjoiMHgxZDM2NjVlMmFlYjM2NThmYTExNDdlY2EwNjdiYTA5ZTNlOWVi
MjE5OWZiMzg2MzJmMWM1OWM4NzczNWRkNjBkMDgwMjNhZmNlMjhmYTMwO
DYyNTgwMmVjYzI0MDZkMjI1M2I0MzYxM2MwNzUzZDlkZDQ0MzY1MDA4NDNlM
TMxNDFiIiwiaWF0IjoxNjk0NTE2MzQ3LCJleHAiOjE2OTcxMDgzNDd9.Hd83HfAXa
EtSiEwIC2oLMeCsVvWoUzkvEbLwf0fuK9A

Response Code : 200 OK

Response :
{
"success": true,
"contractAddresses": []
}

Case 2 : User shouldn’t be able to retrieve user collections favourited address without
providing the auth token.

Request URL : http://nfttools.pro/blur/v1/user/collections/favorited-addresses


Header :
X-NFT-API-Key : e55a42c9-cfda-4154-9b3d-fc779cc14afb
walletAddress : 0x38B435F08A9a7D5BBF7337D5853419674d3B8ce1
authToken :

Response Code : 401


Unauthorized
Reference :
Response :
{
"statusCode": 401,
"message": "Unauthorized"
}

Case 3 : User shouldn’t be able to retrieve the user collections favourited address with
invalid/empty walletAddress.

Request URL : http://nfttools.pro/blur/v1/user/collections/favorited-addresses

Header :
X-NFT-API-Key : e55a42c9-cfda-4154-9b3d-fc779cc14afb
walletAddress :
authToken :
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ3YWxsZXRBZGRyZXNzIjoiMHgzO
GI0MzVmMDhhOWE3ZDViYmY3MzM3ZDU4NTM0MTk2NzRkM2I4Y2UxIiwic2lnb
mF0dXJlIjoiMHgxZDM2NjVlMmFlYjM2NThmYTExNDdlY2EwNjdiYTA5ZTNlOWVi
MjE5OWZiMzg2MzJmMWM1OWM4NzczNWRkNjBkMDgwMjNhZmNlMjhmYTMwO
DYyNTgwMmVjYzI0MDZkMjI1M2I0MzYxM2MwNzUzZDlkZDQ0MzY1MDA4NDNlM
TMxNDFiIiwiaWF0IjoxNjk0NTE2MzQ3LCJleHAiOjE2OTcxMDgzNDd9.Hd83HfAXa
EtSiEwIC2oLMeCsVvWoUzkvEbLwf0fuK9A

Response Code : 401 Unauthorized

Response :
{
"statusCode": 401,
"message": "Unauthorized"
}

You might also like