Get User Grant Cycle
curl --request GET \
--url https://developer.world.org/api/v2/minikit/user-grant-cycleconst options = {method: 'GET'};
fetch('https://developer.world.org/api/v2/minikit/user-grant-cycle', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"success": true,
"status": 123,
"result": {
"nextGrantClaimUTCDate": "2023-11-07T05:31:56Z"
}
}Developer Portal
Get User Grant Cycle
Retrieve the next grant claim date for a user of your mini app. Returns the user’s humanity (orb-verified) grant cycle date if available, otherwise falls back to their document (passport-verified) grant cycle date.
GET
/
api
/
v2
/
minikit
/
user-grant-cycle
Get User Grant Cycle
curl --request GET \
--url https://developer.world.org/api/v2/minikit/user-grant-cycleconst options = {method: 'GET'};
fetch('https://developer.world.org/api/v2/minikit/user-grant-cycle', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"success": true,
"status": 123,
"result": {
"nextGrantClaimUTCDate": "2023-11-07T05:31:56Z"
}
}Was this page helpful?