Skip to main content

Transfer

Info
  • This endpoint requires signature. For specific signature rules, please refer to Authentication
  • This endpoint will trigger rate limit. For specific rules, please refer to Rate Limit.

HTTP request

POST /assets/transfer

Request parameters

Info
  • Only transfers between spot account and margin account or futures account are allowed, that is, either the outgoing or incoming account of the transfer must be a spot account.
Parameter NameRequiredTypeNotes
from_account_typetruestringSender's account type
  • SPOT: Spot account
  • MARGIN: Margin account
  • FUTURES: Futures account
to_account_typetruestringReceiver's account type
  • SPOT: Spot account
  • MARGIN: Margin account
  • FUTURES: Futures account
marketfalsestringMarket name. The field is required when either the outgoing or incoming account is a margin account
ccytruestringCurrency name
amounttruestringTransfer amount

Return parameter

None


Request example

{
"from_account_type": "SPOT",
"to_account_type": "MARGIN",
"ccy": "USDT",
"amount": "1"
}

Response example

{
"code": 0,
"message": "OK",
"data": {}
}