Tokenomics
GET /tokenomics/{userId}/mining-summary
Returns the mining related information.
Request
- Base URL/v1r (relative, and the document was published on a file host, not at the API’s origin)
- Authnone declared. Required headers: Authorization
Path parameters
userIdstring required
ID of the user
Headers
Authorizationstring required
Insert your access token
Response
OK
Example response
{
"availableExtraBonus": 2,
"kycStepBlocked": 2,
"miningRates": {
"base": {
"amount": "1,234,232.001",
"bonuses": {
"extra": 300,
"preStaking": 300,
"t1": 100,
"t2": 200,
"total": 300
}
},
"positiveTotalNoPreStakingBonus": {
"amount": "1,234,232.001",
"bonuses": {
"extra": 300,
"preStaking": 300,
"t1": 100,
"t2": 200,
"total": 300
}
},
"preStaking": {
"amount": "1,234,232.001",
"bonuses": {
"extra": 300,
"preStaking": 300,
"t1": 100,
"t2": 200,
"total": 300
}
},
"standard": {
"amount": "1,234,232.001",
"bonuses": {
"extra": 300,
"preStaking": 300,
"t1": 100,
"t2": 200,
"total": 300
}
},
"total": {
"amount": "1,234,232.001",
"bonuses": {
"extra": 300,
"preStaking": 300,
"t1": 100,
"t2": 200,
"total": 300
}
},
"totalNoPreStakingBonus": {
"amount": "1,234,232.001",
"bonuses": {
"extra": 300,
"preStaking": 300,
"t1": 100,
"t2": 200,
"total": 300
}
}
},
"miningSession": {
"endedAt": "2022-01-03T16:20:52.156534Z",
"free": true,
"resettableStartingAt": "2022-01-03T16:20:52.156534Z",
"startedAt": "2022-01-03T16:20:52.156534Z",
"warnAboutExpirationStartingAt": "2022-01-03T16:20:52.156534Z"
},
"miningStarted": true,
"miningStreak": 2,
"remainingFreeMiningSessions": 1
}Changes
No recorded changes to this operation across all 13 revisions of this API.