Get a staking contract

get
Get a staking contract

https://api.just-mining.com/v1/stakings/:currencyCode
This endpoint allows to get an owned staking contract.
Request
Response
Request
Path Parameters
currencyCode
required
string
Currency code of staking contract (example : ATOM, XTZ, ...)
Headers
API-KEY
required
string
Authentification token
Response
200: OK
Staking contract successfully retrieved
{
"success": true,
"data": {
"currencyCode": "KAVA",
"amount": 75,
"reward": 0.01027898,
"lockedReward": 0,
"startDate": 1590582716,
"variations": [
{
"amount": 75,
"date": 1590582716,
"effectiveDate": 1590669116,
"applied": 1
}
],
"credits": [
{
"amount": 0.00432936,
"date": 1590710400,
"releaseDate": false,
"released": 1
},
{
"amount": 0.00594962,
"date": 1590624000,
"releaseDate": false,
"released": 1
}
]
}
}
404: Not Found
Could not find a staking contract matching this query.
{
"success": false,
"error": {
"code": 404,
"message": "RESSOURCE_NOT_FOUND"
}
}