Last updated 10 months ago
This endpoint retrieves Gems associated with the given entity.
Successful response
true
const response = await fetch('https://api.questprotocol.xyz/api/entities/{entityId}/users/{userId}/gems', { method: 'GET', headers: { "apikey": "test", "userid": "dummy-userid", "token": "dummy-token" }, }); 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 } ] }