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
String
Code of the coin.
String
Chain code of the coin.
String
Abbreviation (reference only, subject to change)
String
Description of the coin.
String
Decimal places of the coin.
Bool
Whether the coin can be deposited.
Bool
Whether the coin can be withdrawn.
Int
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
}
]
}
}
Was this page helpful?
âI
