request(
"GET",
"/v1/custody/get_supported_coins/",{},
api_key, api_secret, host
)
coboFetch(
"GET",
"/v1/custody/mpc/get_supported_chains/",
{},
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/get_supported_coins/", map[string]string{})
{
"success": true,
"result": [
{
"coin": "ETH",
"display_code": "ETH",
"description": "Ethereum",
"decimal": 18,
"can_deposit": true,
"can_withdraw": true,
"require_memo": false,
"minimum_deposit_threshold": "0"
},
{
"coin": "BTC",
"display_code": "BTC",
"description": "Bitcoin",
"decimal": 8,
"can_deposit": true,
"can_withdraw": true,
"require_memo": false,
"minimum_deposit_threshold": "0"
}
]
}
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
/
get_supported_coins
/
request(
"GET",
"/v1/custody/get_supported_coins/",{},
api_key, api_secret, host
)
coboFetch(
"GET",
"/v1/custody/mpc/get_supported_chains/",
{},
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/get_supported_coins/", map[string]string{})
{
"success": true,
"result": [
{
"coin": "ETH",
"display_code": "ETH",
"description": "Ethereum",
"decimal": 18,
"can_deposit": true,
"can_withdraw": true,
"require_memo": false,
"minimum_deposit_threshold": "0"
},
{
"coin": "BTC",
"display_code": "BTC",
"description": "Bitcoin",
"decimal": 8,
"can_deposit": true,
"can_withdraw": true,
"require_memo": false,
"minimum_deposit_threshold": "0"
}
]
}
Request
NoneResponse
bool
request successful or failed
object[]
Show object
Show object
String
The coin symbol.
String
Coin ticker symbol (not unique, changeable, for reference only )
Int
Full name of coin (not unique, changeable, for reference only )
Int
Coin balance decimal places
Bool
Deposit accessibility
Bool
Withdraw accessibility
Bool
Memo for specified coins(EOS,XLM,XRP,IOST)
String
Coin minimum deposit threshold
request(
"GET",
"/v1/custody/get_supported_coins/",{},
api_key, api_secret, host
)
coboFetch(
"GET",
"/v1/custody/mpc/get_supported_chains/",
{},
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/get_supported_coins/", map[string]string{})
{
"success": true,
"result": [
{
"coin": "ETH",
"display_code": "ETH",
"description": "Ethereum",
"decimal": 18,
"can_deposit": true,
"can_withdraw": true,
"require_memo": false,
"minimum_deposit_threshold": "0"
},
{
"coin": "BTC",
"display_code": "BTC",
"description": "Bitcoin",
"decimal": 8,
"can_deposit": true,
"can_withdraw": true,
"require_memo": false,
"minimum_deposit_threshold": "0"
}
]
}
⌘I
