Get SubAccount Deposit Address
Frequency limit: 10 times/1s (User ID)
Description
Get Deposit Address
HTTP Request
- GET /api/v2/spot/wallet/subaccount-deposit-address
Request Example
curl "https://api.cointr.com/api/v2/spot/wallet/subaccount-deposit-address?coin=USDT&chain=ERC20&subUid=123" \
-H "ACCESS-KEY:*******" \
-H "ACCESS-SIGN:*" \
-H "ACCESS-PASSPHRASE:*" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:en-US" \
-H "Content-Type: application/json"
Request Parameter
Parameter | Type | Required | Description |
---|---|---|---|
subUid | String | Yes | Sub Account Uid You can get the sub-account list via Get Virtual Subaccounts interface |
coin | String | Yes | Coin name, e.g. USDT All coin names can be returned from Get Coin Info interface |
chain | String | No | Chain name, e.g. trc20 You can get the chain names via Get Coin Info interface |
size | String | No | Bitcoin Lightning Network withdrawal amount,limit:0.000001 - 0.01 |
Response Example
{
"code": "00000",
"msg": "success",
"requestTime": 1683875302853,
"data": {
"address": "xxx",
"chain": "BTC-Bitcoin",
"coin": "BTC",
"tag": "",
"url": "https://btc.com/xxx"
}
}
Response Parameter
Parameter | Type | Description |
---|---|---|
address | String | Deposit address |
chain | String | chain name |
coin | String | Token name |
tag | String | Tag |
url | String | blockchain address |