v26

latestOpenAPI 3.0.2raw.githubusercontent.com2024-10-0834042975.6 KB
Sub-Account

Universal Transfer History (For Master Account)

  • fromEmail and toEmail cannot be sent at the same time.
  • Return fromEmail equal master account email by default.
  • The query time period must be less then 30 days.
  • If startTime and endTime not sent, return records of the last 30 days by default.

Weight(IP): 1

get/sapi/v1/sub-account/universalTransfer

Query parameters

fromEmailstring

Sub-account email

toEmailstring

Sub-account email

clientTranIdstring
startTimeinteger

UTC timestamp in ms

endTimeinteger

UTC timestamp in ms

pageinteger
Example:1

Default 1

limitinteger

Default 500, Max 500

recvWindowinteger
Example:5000

The value cannot be greater than 60000

timestampinteger required

UTC timestamp in ms

signaturestring required

Signature

Response

Transfer History

tranIdinteger required
fromEmailstring required
toEmailstring required
assetstring required
amountstring required
fromAccountTypestring required
toAccountTypestring required
statusstring required
createTimeStampinteger required
clientTranIdstring required

Example response

[
  {
    "tranId": 11945860693,
    "fromEmail": "master@test.com",
    "toEmail": "subaccount1@test.com",
    "asset": "BTC",
    "amount": "0.1",
    "fromAccountType": "SPOT",
    "toAccountType": "COIN_FUTURE",
    "status": "SUCCESS",
    "createTimeStamp": 1544433325000,
    "clientTranId": "11945860694"
  }
]