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
request successful or failed
Show object
Show object
MPC wallet name in Cobo Custody
Show object
Show object
Code of the coin.
Chain code of the coin.
Abbreviation (reference only, subject to change)
Description of the coin.
Decimal places of the coin.
Whether the coin can be deposited.
Whether the coin can be withdrawn.
Confirming threshold of the coin.
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
