Last updated 3 months ago
This endpoint retrieves Gems associated with the given entity.
Successful response
const response = await fetch('https://api.questprotocol.xyz/api/entities/{entityId}/users/{userId}/gems', { method: 'GET', headers: {}, }); const data = await response.json();
{ "success": true, "data": [ { "_id": "text", "userId": "text", "entityId": "text", "gemsContractId": { "_id": "text", "name": "text", "desc": "text", "logo": "text" }, "value": 0 } ] }