跳转到主要内容

Documentation Index

Fetch the complete documentation index at: https://developer.wooxpro.com/llms.txt

Use this file to discover all available pages before exploring further.

划转 (SIGNED)

现货账户与合约账户之间的划转

请求URL

POST https://cloud-api.wooxpro.com/account/v1/transfer-contract

请求限制

参见 速率限制详细

请求参数

请求
curl 
 -H 'X-BM-KEY:{{AccessKey}}'
 -H 'X-BM-TIMESTAMP:{{currentTime}}'
 -H 'X-BM-SIGN:{{SIGN}}' 
 -X POST -d '{
  "currency":"USDT",
  "amount":"10",
  "type":"spot_to_contract",
  "recvWindow":5000
}'
https://cloud-api.wooxpro.com/account/v1/transfer-contract
参数类型是否必填描述
currencyString必填币种, 如 USDT (当前只支持USDT)
amountString必填划转金额,取值范围[0.01,10000000000]
typeString必填划转方向
-spot_to_contract=现货到合约
-contract_to_spot=合约到现货
recvWindowLong交易时效时间,取值范围(0,60000], 默认:5000 毫秒

响应详情

响应
{
  "message":"OK",
  "code":1000,
  "trace":"34018ca3-fe24-446a-9e1d-f82edfb3e3",
  "data":{
    "currency":"USDT",
    "amount":"10"
  }
}
字段类型描述
currencyString币种
amountString成功划转的金额