request(
"POST",
"/v1/custody/staking_stake/",
{
"product_id": 2751
"amount": 4000000000
},
api_key, api_secret, host
)
coboFetch('POST', '/v1/custody/staking_stake/',
{
"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_stake/", map[string]string{
"product_id": 2751
"amount": 4000000000
})
{
"success": true,
"result": true
}
Staking
Stake
This content applies to WaaS 1.0 only. We highly recommend that you upgrade to WaaS 2.0.
POST
/
v1
/
custody
/
staking_stake
/
request(
"POST",
"/v1/custody/staking_stake/",
{
"product_id": 2751
"amount": 4000000000
},
api_key, api_secret, host
)
coboFetch('POST', '/v1/custody/staking_stake/',
{
"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_stake/", map[string]string{
"product_id": 2751
"amount": 4000000000
})
{
"success": true,
"result": true
}
Request
Int
required
The ID of the product to stake on.
Int
required
The amount of cryptocurrency to stake.
Response
bool
request successful or failed
String
Success is "", failed is null.
request(
"POST",
"/v1/custody/staking_stake/",
{
"product_id": 2751
"amount": 4000000000
},
api_key, api_secret, host
)
coboFetch('POST', '/v1/custody/staking_stake/',
{
"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_stake/", map[string]string{
"product_id": 2751
"amount": 4000000000
})
{
"success": true,
"result": true
}
