Get Single Address Info
For segregated warm wallet, code wallet and DeFi account wallet. For consolidation wallet, use 'coin_name' to filter address of the particular token.
Request
GET https://custody-example-url/custody/v1/api/projects/{b_id}/wallets/{wallet_code}/addresses/{address}
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 |
address | String | Address |
Response
Field | Type | Description |
---|---|---|
code | Integer | Response code |
message | String | Response message |
successful | Boolean | If the request is successful |
data | Object | List of address info |
domain_id | String | Enterprise ID |
b_id | String | Business line ID |
wallet_code | String | Wallet ID |
wallet_type | String | Wallet type(MIXED_ADDRESS or SEGREGATED_ADDRESS) |
address | String | Address |
address_type | String | Address type(NORMAL_ADDRESS) |
address_storage | String | Address storage type (COLD/HOT) |
coin_name | String | Asset name |
bch_address_format | String | BCH address format (CashAdd/Legacy) |
description | Decimal | Address description |
available_amount | Decimal | Available asset amount (the smallest unit)(for segregated wallet) |
freeze_amount | Decimal | Frozen asset amount (the smallest unit)(for segregated wallet) |
total_amount | Decimal | Total asset amount (the smallest unit) |
Response Example
{
"code": 0,
"message": "",
"successful": true,
"data": {
"address": "mnVFMBnsMJ7goypJFS8A6nWgq4cN1TzxXb",
"address_storage": "COLD",
"address_type": "NORMAL_ADDRESS",
"available_amount": null,
"coin_name": "BTC",
"bch_address_format": null,
"b_id": "4a3e2fb40faa4b9d94480559ac01e8de",
"description": "test addressss",
"domain_id": "e4c9f9024bff472cba51cb2a9fe0f974",
"freeze_amount": null,
"total_amount": 0,
"wallet_code": "CHBTC2656037244",
"wallet_type": "MIXED_ADDRESS"
}
}