request(
"POST",
"/v1/custody/staking_unstake/",
{
"product_id": 2751
"amount": 4000000000
},
api_key, api_secret, host
)
coboFetch('POST', '/v1/custody/staking_unstake/',
{
"product_id": 2751
"amount": 4000000000
},
api_key, api_secret, host
).then(res => {
res.json().then((data)=>{
console.log(JSON.stringify(data, null, 4));
})
}).catch(err => {
console.log(err)
});
Request("POST", "/v1/custody/staking_unstake/", map[string]string{
"product_id": 2751
"amount": 4000000000
})
{
"success": true,
"result": true
}
Staking
Unstake
This content applies to WaaS 1.0 only. We highly recommend that you upgrade to WaaS 2.0.
POST
/
v1
/
custody
/
staking_unstake
/
request(
"POST",
"/v1/custody/staking_unstake/",
{
"product_id": 2751
"amount": 4000000000
},
api_key, api_secret, host
)
coboFetch('POST', '/v1/custody/staking_unstake/',
{
"product_id": 2751
"amount": 4000000000
},
api_key, api_secret, host
).then(res => {
res.json().then((data)=>{
console.log(JSON.stringify(data, null, 4));
})
}).catch(err => {
console.log(err)
});
Request("POST", "/v1/custody/staking_unstake/", map[string]string{
"product_id": 2751
"amount": 4000000000
})
{
"success": true,
"result": true
}
Request
Int
required
The ID of the product to unstake.
Int
required
The amount of the product to unstake.
Response
bool
request successful or failed
String
Success is "", failed is null.
request(
"POST",
"/v1/custody/staking_unstake/",
{
"product_id": 2751
"amount": 4000000000
},
api_key, api_secret, host
)
coboFetch('POST', '/v1/custody/staking_unstake/',
{
"product_id": 2751
"amount": 4000000000
},
api_key, api_secret, host
).then(res => {
res.json().then((data)=>{
console.log(JSON.stringify(data, null, 4));
})
}).catch(err => {
console.log(err)
});
Request("POST", "/v1/custody/staking_unstake/", map[string]string{
"product_id": 2751
"amount": 4000000000
})
{
"success": true,
"result": true
}
