现货账户与合约账户之间的划转
请求URL
POST https://cloud-api.wooxpro.com/account/v1/transfer-contract
请求限制
参见 速率限制详细请求参数
请求
响应详情
响应
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
现货账户与合约账户之间的划转
POST https://cloud-api.wooxpro.com/account/v1/transfer-contract
请求
curl
-H 'X-API-KEY:{{AccessKey}}'
-H 'X-API-TIMESTAMP:{{currentTime}}'
-H 'X-API-SIGN:{{SIGN}}'
-X POST -d '{
"currency":"USDT",
"amount":"10",
"transferType":"spot_to_contract"
}'
https://cloud-api.wooxpro.com/account/v1/transfer-contract
| 参数 | 类型 | 是否必填 | 描述 |
|---|---|---|---|
| currency | String | 必填 | 币种, 如 USDT (当前只支持USDT) |
| amount | String | 必填 | 划转金额,取值范围[0.01,10000000000] |
| transferType | String | 必填 | 划转方向 - spot_to_contract=现货到合约- contract_to_spot=合约到现货 |
响应
{
"message":"Ok",
"code":1000,
"data":{}
}
| 字段 | 类型 | 描述 |
|---|---|---|
| currency | String | 币种 |
| amount | String | 成功划转的金额 |