request(
"GET",
"/v1/custody/mpc/get_supported_coins/",
{
"chain_code": "ETH"
},
api_key, api_secret, host
)
coboFetch('GET', '/v1/custody/mpc/get_supported_coins/', {
"chain_code": "ETH"
}, 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/mpc/get_supported_coins/", map[string]string{
"chain_code": "ETH"
})
{
"success": true,
"result": {
"coins": [
{
"coin": "ETH",
"display_code": "ETH",
"description": "Ethereum",
"decimal": 18,
"can_deposit": True,
"can_withdraw": True,
"confirming_threshold": 12
},
{
"coin": "ETH_USDT",
"display_code": "USDT",
"description": "",
"decimal": 6,
"can_deposit": True,
"can_withdraw": True,
"confirming_threshold": 12
}
]
}
}
Account
Get Supported Coins
This content applies to WaaS 1.0 only. We highly recommend that you upgrade to WaaS 2.0.
GET
/
v1
/
custody
/
mpc
/
get_supported_coins
/
request(
"GET",
"/v1/custody/mpc/get_supported_coins/",
{
"chain_code": "ETH"
},
api_key, api_secret, host
)
coboFetch('GET', '/v1/custody/mpc/get_supported_coins/', {
"chain_code": "ETH"
}, 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/mpc/get_supported_coins/", map[string]string{
"chain_code": "ETH"
})
{
"success": true,
"result": {
"coins": [
{
"coin": "ETH",
"display_code": "ETH",
"description": "Ethereum",
"decimal": 18,
"can_deposit": True,
"can_withdraw": True,
"confirming_threshold": 12
},
{
"coin": "ETH_USDT",
"display_code": "USDT",
"description": "",
"decimal": 6,
"can_deposit": True,
"can_withdraw": True,
"confirming_threshold": 12
}
]
}
}
Request
Chain code for which to retrieve supported coins.
Response
request successful or failed
Show object
Show object
Show object
Show object
Coin code
Abbreviation (reference only, subject to change)
Full name (reference only, subject to change)
Decimal precision
Whether deposit is supported
Whether withdraw is supported
Number of confirmations required
request(
"GET",
"/v1/custody/mpc/get_supported_coins/",
{
"chain_code": "ETH"
},
api_key, api_secret, host
)
coboFetch('GET', '/v1/custody/mpc/get_supported_coins/', {
"chain_code": "ETH"
}, 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/mpc/get_supported_coins/", map[string]string{
"chain_code": "ETH"
})
{
"success": true,
"result": {
"coins": [
{
"coin": "ETH",
"display_code": "ETH",
"description": "Ethereum",
"decimal": 18,
"can_deposit": True,
"can_withdraw": True,
"confirming_threshold": 12
},
{
"coin": "ETH_USDT",
"display_code": "USDT",
"description": "",
"decimal": 6,
"can_deposit": True,
"can_withdraw": True,
"confirming_threshold": 12
}
]
}
}
Was this page helpful?
⌘I
