request(
"GET",
"/v1/custody/coin_info/",
{
"coin": "ETH",
"amount": 1000000000000000000
},
api_key, api_secret, host
)
coboFetch('GET', '/v1/custody/coin_info/', {
"coin": "ETH",
"amount": 1000000000000000000
}, 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/coin_info/", map[string]string{
"coin": "ETH",
"amount": 1000000000000000000
})
{
"success": true,
"result": {
"coin": "ETH",
"display_code": "ETH",
"description": "Ethereum",
"decimal": 18,
"can_deposit": true,
"can_withdraw": true,
"require_memo": false,
"balance": "0",
"abs_balance": "0",
"fee_coin": "ETH",
"abs_estimate_fee": "0.0003648",
"abs_estimate_fee_usd": "5.67",
"confirming_threshold": 12,
"dust_threshold": 0,
"token_address": ""
}
}
Account
Get Coin Details
This content applies to WaaS 1.0 only. We highly recommend that you upgrade to WaaS 2.0.
GET
/
v1
/
custody
/
coin_info
/
request(
"GET",
"/v1/custody/coin_info/",
{
"coin": "ETH",
"amount": 1000000000000000000
},
api_key, api_secret, host
)
coboFetch('GET', '/v1/custody/coin_info/', {
"coin": "ETH",
"amount": 1000000000000000000
}, 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/coin_info/", map[string]string{
"coin": "ETH",
"amount": 1000000000000000000
})
{
"success": true,
"result": {
"coin": "ETH",
"display_code": "ETH",
"description": "Ethereum",
"decimal": 18,
"can_deposit": true,
"can_withdraw": true,
"require_memo": false,
"balance": "0",
"abs_balance": "0",
"fee_coin": "ETH",
"abs_estimate_fee": "0.0003648",
"abs_estimate_fee_usd": "5.67",
"confirming_threshold": 12,
"dust_threshold": 0,
"token_address": ""
}
}
Request
String
required
Coin code
Int
the amount you wish to send
To accurately estimate handling fees, it is required to include the amount parameter. Otherwise, this endpoint will return the default transaction fee. Please note that the default transaction fee might not be very accurate.
Response
bool
request successful or failed
object
Show object
Show object
String
Coin code
String
Coin ticker symbol (not unique, changeable, for reference only )
String
Coin code
Int
Coin balance decimal places
bool
Deposit accessibility
bool
Withdraw accessibility
String
Current balance
String
Absolute value of balance
String
Coin used for fee
String
Estimated fee
String
Estimated fee(Convert to USD calculation)
Int
Confirmation threshold required for the coin
Int
Coin minimum withdraw threshold
String
Coin minimum deposit threshold
String
Smart contract address for token (null for main-chain token)
String
Memo for specified coins(EOS,XLM,XRP,IOST)
request(
"GET",
"/v1/custody/coin_info/",
{
"coin": "ETH",
"amount": 1000000000000000000
},
api_key, api_secret, host
)
coboFetch('GET', '/v1/custody/coin_info/', {
"coin": "ETH",
"amount": 1000000000000000000
}, 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/coin_info/", map[string]string{
"coin": "ETH",
"amount": 1000000000000000000
})
{
"success": true,
"result": {
"coin": "ETH",
"display_code": "ETH",
"description": "Ethereum",
"decimal": 18,
"can_deposit": true,
"can_withdraw": true,
"require_memo": false,
"balance": "0",
"abs_balance": "0",
"fee_coin": "ETH",
"abs_estimate_fee": "0.0003648",
"abs_estimate_fee_usd": "5.67",
"confirming_threshold": 12,
"dust_threshold": 0,
"token_address": ""
}
}
⌘I
