跳到主要内容

创建子账户充值地址

限速规则 10次/1s (UID)

描述

独立经纪商母账户新增子账户的充值地址,仅适用主账户调用

HTTP请求

  • POST /api/v2/broker/account/subaccount-address
请求示例
curl -X POST "https://api.bitget.com/api/v2/broker/account/subaccount-address" \
-H "ACCESS-KEY:your apiKey" \
-H "ACCESS-SIGN:*" \
-H "ACCESS-PASSPHRASE:*" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:zh-CN" \
-H "Content-Type: application/json" \
-d '{"subUid":"11111","coin":"ETH"}'

请求参数

参数名参数类型是否必须描述
subUidString子账户Uid
coinString币种,如BTC
目前只支持:BTC/ETH/USDT/USDC/TRX/XRP/LTC/SOL
chainString链类型 如果不填该参数,则默认为币种的主链
返回示例
{
"code": "00000",
"msg": "success",
"requestTime": 1695785563368,
"data": {
"subUid": "***********",
"coin": "ETH",
"address": "0x1eae2xxxxxxx7360bc59d2axxxxxx0caec9e",
"chain": "trc20",
"tag": "address1",
"url": "https://etherscan.io/tx/",
"cTime": "1694966400000"
}
}

返回参数

返回字段参数类型字段说明
subUidString子账户Uid
addressString提币地址
chainString链名称
coinString币种名称
tagStringEOS的memo,TON的comment都会通过该字段返回,其他链同理
urlString区块链地址
ctimeString创建时间,毫秒时间戳