request(
"GET",
"/v1/custody/mpc/get_wallet_supported_coins/",
{},
api_key, api_secret, host
)
coboFetch("GET", "/v1/custody/mpc/get_wallet_supported_coins/", {}, 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_wallet_supported_coins/", map[string]string{})
{
"success": true,
"result": {
"wallet_name": "Test_Wallet",
"coins": [
{
"coin": "GETH_UNI",
"chain_code": "GETH",
"display_code": "UNI",
"description": "",
"decimal": 18,
"can_deposit": True,
"can_withdraw": True,
"confirming_threshold": 32
},
{
"coin": "ETH",
"chain_code": "ETH",
"display_code": "ETH",
"description": "Ethereum",
"decimal": 18,
"can_deposit": True,
"can_withdraw": True,
"confirming_threshold": 12
}
]
}
}
Account
Get Wallet 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_wallet_supported_coins
/
request(
"GET",
"/v1/custody/mpc/get_wallet_supported_coins/",
{},
api_key, api_secret, host
)
coboFetch("GET", "/v1/custody/mpc/get_wallet_supported_coins/", {}, 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_wallet_supported_coins/", map[string]string{})
{
"success": true,
"result": {
"wallet_name": "Test_Wallet",
"coins": [
{
"coin": "GETH_UNI",
"chain_code": "GETH",
"display_code": "UNI",
"description": "",
"decimal": 18,
"can_deposit": True,
"can_withdraw": True,
"confirming_threshold": 32
},
{
"coin": "ETH",
"chain_code": "ETH",
"display_code": "ETH",
"description": "Ethereum",
"decimal": 18,
"can_deposit": True,
"can_withdraw": True,
"confirming_threshold": 12
}
]
}
}
This API is only intended for MPC send/receive wallets and does not support MPC web3 wallets.
Request
NoneResponse
bool
request successful or failed
object
Show object
Show object
String
MPC wallet name in Cobo Custody
object[]
Show object
Show object
request(
"GET",
"/v1/custody/mpc/get_wallet_supported_coins/",
{},
api_key, api_secret, host
)
coboFetch("GET", "/v1/custody/mpc/get_wallet_supported_coins/", {}, 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_wallet_supported_coins/", map[string]string{})
{
"success": true,
"result": {
"wallet_name": "Test_Wallet",
"coins": [
{
"coin": "GETH_UNI",
"chain_code": "GETH",
"display_code": "UNI",
"description": "",
"decimal": 18,
"can_deposit": True,
"can_withdraw": True,
"confirming_threshold": 32
},
{
"coin": "ETH",
"chain_code": "ETH",
"display_code": "ETH",
"description": "Ethereum",
"decimal": 18,
"can_deposit": True,
"can_withdraw": True,
"confirming_threshold": 12
}
]
}
}
⌘I
