Get Single Wallet Info
Request
GET https://custody-example-url/custody/v1/api/projects/{b_id}/wallets/{wallet_code}
Parameters
Field |
Type |
Description |
b_id |
String |
Business line ID |
wallet_code |
String |
Wallet ID |
coin_name Optional |
String |
coin_name Allowed Value: Refer to Cactus Symbol (For API) column in Supported Token |
Response
Field |
Type |
Description |
code |
Integer |
Response code |
message |
String |
Response message |
successful |
Boolean |
If the request is successful |
data |
Object |
Wallet object |
domain_id |
String |
Enterprise ID |
b_id |
String |
Business line ID |
wallet_code |
String |
Wallet ID |
main_wallet_code |
String |
Main wallet ID |
wallet_name |
String |
Wallet name |
coin_name |
String |
Asset name |
chain |
String |
Chain name |
wallet_type |
String |
Wallet type(MIXED_ADDRESS or SEGREGATED_ADDRESS or DAPP_ADDRESS or DAPP_CUSTOM_ADDRESS) |
storage_type |
String |
Storage type(PRIME_HOT or PRIME_COLD_LV1) |
available_amount |
Decimal |
Available amount (the smallest unit) |
freeze_amount |
Decimal |
Frozen amount (the smallest unit) |
total_amount |
Decimal |
Total amount (the smallest unit) |
usd_total_market |
Decimal |
Total market value (USD) |
cny_total_market |
Decimal |
Total market value (CNY) |
coin_status |
String |
Asset status(1:Normal. 2:Restricted Withdrawal, 3:Restricted Deposit, 4:Restricted Deposit & Withdrawal) |
chinese_reason_of_status |
String |
Description of Asset Status(Chinese) |
english_reason_of_status |
String |
Description of Asset Status(English) |
normal_address_limit |
Integer |
The upper limit of the number of address |
normal_address_num |
Integer |
The number of address applied |
create_time |
Long |
Wallet creation time (Timestamp) |
Response Example
{
"code": 0,
"message": "",
"successful": true,
"data": {
"domain_id": "a5b3f782c4e24c688eca60946442a75f",
"b_id": "ed70ff75b1fe4994a3bd836befe0e87f",
"wallet_code": "CCLTC1278870318",
"wallet_name": "",
"coin_name": "LTC",
"wallet_type": "SEGREGATED_ADDRESS",
"storage_type": "PRIME_COLD",
"available_amount": 0,
"freeze_amount": 0,
"total_amount": 0,
"usd_total_market": 0.0,
"cny_total_market": 0.0,
"coin_status": "1",
"chinese_reason_of_status": "",
"english_reason_of_status": "",
"normal_address_limit": 10,
"normal_address_num": 2,
"create_time": 1577762589000
}
}