request(
"GET",
"/v1/custody/unstakings/",
{
"coin": "ZEL",
},
api_key, api_secret, host
)
coboFetch('GET', '/v1/custody/unstakings/',
{
"coin": "ZEL",
},
api_key, api_secret, host
).then(res => {
res.json().then((data)=>{
console.log(JSON.stringify(data, null, 4));
})
}).catch(err => {
console.log(err)
});
Request("GET", "/v1/custody/unstakings/", map[string]string{
"coin": "ZEL",
})
{
"success": true,
"result": [
{
"coin": "ZEL",
"coin_decimal": 8,
"amount": 4000000000,
"unstake_time": 1575388800000,
"liquidate_time": 1575388800000
},
{},
{}
]
}
Staking
Get Unstaking Data
This content applies to WaaS 1.0 only. We highly recommend that you upgrade to WaaS 2.0.
GET
/
v1
/
custody
/
unstakings
/
request(
"GET",
"/v1/custody/unstakings/",
{
"coin": "ZEL",
},
api_key, api_secret, host
)
coboFetch('GET', '/v1/custody/unstakings/',
{
"coin": "ZEL",
},
api_key, api_secret, host
).then(res => {
res.json().then((data)=>{
console.log(JSON.stringify(data, null, 4));
})
}).catch(err => {
console.log(err)
});
Request("GET", "/v1/custody/unstakings/", map[string]string{
"coin": "ZEL",
})
{
"success": true,
"result": [
{
"coin": "ZEL",
"coin_decimal": 8,
"amount": 4000000000,
"unstake_time": 1575388800000,
"liquidate_time": 1575388800000
},
{},
{}
]
}
Request
The coin to filter the positions by.
Response
request successful or failed
request(
"GET",
"/v1/custody/unstakings/",
{
"coin": "ZEL",
},
api_key, api_secret, host
)
coboFetch('GET', '/v1/custody/unstakings/',
{
"coin": "ZEL",
},
api_key, api_secret, host
).then(res => {
res.json().then((data)=>{
console.log(JSON.stringify(data, null, 4));
})
}).catch(err => {
console.log(err)
});
Request("GET", "/v1/custody/unstakings/", map[string]string{
"coin": "ZEL",
})
{
"success": true,
"result": [
{
"coin": "ZEL",
"coin_decimal": 8,
"amount": 4000000000,
"unstake_time": 1575388800000,
"liquidate_time": 1575388800000
},
{},
{}
]
}
Was this page helpful?
âI
