request(
"GET",
"/v1/custody/staking_products/",
{
"coin": "ZEL",
"language": "zh",
},
api_key, api_secret, host
)
coboFetch('GET', '/v1/custody/staking_products/',
{
"coin": "ZEL",
"language": "zh",
},
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/staking_products/", map[string]string{
"coin": "ZEL",
"language": "zh",
})
{
"success": true,
"result": [
{
"name": " TETH PoS\u6d4b\u8bd5",
"description": "TETH PoS test",
"doc_src": "https://www.cobo.com",
"coin": "TETH",
"coin_decimal": 18,
"reward_coin": "TETH",
"reward_coin_decimal": 18,
"unstake_fee": "0",
"min_amount": "1000000",
"rate": "0.2000000000",
"rate_type": 1,
"days": 0,
"stake_type": "pos",
"lockup": false,
"start_stake_time": 1691388900000,
"stop_stake_time": 1691391600000,
"start_staking_time": 1691391600000,
"stop_staking_time": 1691398800000,
"liquidate_time": 1691398860000,
"reward_liquidate_time": 1691398920000,
"product_id": 236082,
"product_group": " TETHPPSW"
},
{
"name": "TETH PoS \u6d4b\u8bd51",
"description": "TETH PoS \u6d4b\u8bd51",
"doc_src": "https://www.cobo.com",
"coin": "TETH",
"coin_decimal": 18,
"reward_coin": "TETH",
"reward_coin_decimal": 18,
"unstake_fee": "0",
"min_amount": "1000000",
"rate": "0.1200000000",
"rate_type": 1,
"days": 0,
"stake_type": "pos",
"lockup": false,
"start_stake_time": 1691386800000,
"stop_stake_time": 1691391600000,
"start_staking_time": 1691391660000,
"stop_staking_time": 1691398860000,
"liquidate_time": 1691398920000,
"reward_liquidate_time": 1691362980000,
"product_id": 236081,
"product_group": " TETHPPSW_1"
}
]
}
Staking
Get All Staking Product List
This content applies to WaaS 1.0 only. We highly recommend that you upgrade to WaaS 2.0.
GET
/
v1
/
custody
/
staking_products
/
request(
"GET",
"/v1/custody/staking_products/",
{
"coin": "ZEL",
"language": "zh",
},
api_key, api_secret, host
)
coboFetch('GET', '/v1/custody/staking_products/',
{
"coin": "ZEL",
"language": "zh",
},
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/staking_products/", map[string]string{
"coin": "ZEL",
"language": "zh",
})
{
"success": true,
"result": [
{
"name": " TETH PoS\u6d4b\u8bd5",
"description": "TETH PoS test",
"doc_src": "https://www.cobo.com",
"coin": "TETH",
"coin_decimal": 18,
"reward_coin": "TETH",
"reward_coin_decimal": 18,
"unstake_fee": "0",
"min_amount": "1000000",
"rate": "0.2000000000",
"rate_type": 1,
"days": 0,
"stake_type": "pos",
"lockup": false,
"start_stake_time": 1691388900000,
"stop_stake_time": 1691391600000,
"start_staking_time": 1691391600000,
"stop_staking_time": 1691398800000,
"liquidate_time": 1691398860000,
"reward_liquidate_time": 1691398920000,
"product_id": 236082,
"product_group": " TETHPPSW"
},
{
"name": "TETH PoS \u6d4b\u8bd51",
"description": "TETH PoS \u6d4b\u8bd51",
"doc_src": "https://www.cobo.com",
"coin": "TETH",
"coin_decimal": 18,
"reward_coin": "TETH",
"reward_coin_decimal": 18,
"unstake_fee": "0",
"min_amount": "1000000",
"rate": "0.1200000000",
"rate_type": 1,
"days": 0,
"stake_type": "pos",
"lockup": false,
"start_stake_time": 1691386800000,
"stop_stake_time": 1691391600000,
"start_staking_time": 1691391660000,
"stop_staking_time": 1691398860000,
"liquidate_time": 1691398920000,
"reward_liquidate_time": 1691362980000,
"product_id": 236081,
"product_group": " TETHPPSW_1"
}
]
}
Request
String
The coin to filter staking products by.
String
The language to use for staking product names and descriptions.
Response
bool
request successful or failed
object[]
Show object
Show object
String
Product name
String
Product description
String
Product detailed description doc
String
Coin code
Int
Coin decimal
String
Reward coin
Int
Reward coin decimal
String
Unstake fee
String
Min. amount to stake
String
Yearly ROI
Int
1:fixed rate 2:estimated rate
Int
Reward period
String
Staking type(Masternode, DPoS, etc)
Bool
If there’s a lockup period
Int
Start stake time(mileseconds timestamp)
Int
Stop stake time(mileseconds timestamp)
Int
Start staking time(mileseconds timestamp)
Int
Stop staking time(mileseconds timestamp)
Int
Liquidate time(mileseconds timestamp)
Int
Reward liquidate time(mileseconds timestamp)
Int
Product id(unique)
String
product of group
request(
"GET",
"/v1/custody/staking_products/",
{
"coin": "ZEL",
"language": "zh",
},
api_key, api_secret, host
)
coboFetch('GET', '/v1/custody/staking_products/',
{
"coin": "ZEL",
"language": "zh",
},
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/staking_products/", map[string]string{
"coin": "ZEL",
"language": "zh",
})
{
"success": true,
"result": [
{
"name": " TETH PoS\u6d4b\u8bd5",
"description": "TETH PoS test",
"doc_src": "https://www.cobo.com",
"coin": "TETH",
"coin_decimal": 18,
"reward_coin": "TETH",
"reward_coin_decimal": 18,
"unstake_fee": "0",
"min_amount": "1000000",
"rate": "0.2000000000",
"rate_type": 1,
"days": 0,
"stake_type": "pos",
"lockup": false,
"start_stake_time": 1691388900000,
"stop_stake_time": 1691391600000,
"start_staking_time": 1691391600000,
"stop_staking_time": 1691398800000,
"liquidate_time": 1691398860000,
"reward_liquidate_time": 1691398920000,
"product_id": 236082,
"product_group": " TETHPPSW"
},
{
"name": "TETH PoS \u6d4b\u8bd51",
"description": "TETH PoS \u6d4b\u8bd51",
"doc_src": "https://www.cobo.com",
"coin": "TETH",
"coin_decimal": 18,
"reward_coin": "TETH",
"reward_coin_decimal": 18,
"unstake_fee": "0",
"min_amount": "1000000",
"rate": "0.1200000000",
"rate_type": 1,
"days": 0,
"stake_type": "pos",
"lockup": false,
"start_stake_time": 1691386800000,
"stop_stake_time": 1691391600000,
"start_staking_time": 1691391660000,
"stop_staking_time": 1691398860000,
"liquidate_time": 1691398920000,
"reward_liquidate_time": 1691362980000,
"product_id": 236081,
"product_group": " TETHPPSW_1"
}
]
}
⌘I
