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
String
required
Chain code for which to retrieve supported coins.
Response
bool
request successful or failed
object
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
}
]
}
}
⌘I
