v26

latestOpenAPI 3.0.2raw.githubusercontent.com2024-10-0834042975.6 KB
Wallet

Query Convert Transfer (USER_DATA)

Weight(UID): 5

get/sapi/v1/asset/convert-transfer/queryByPage

Query parameters

tranIdinteger
Example:118263615991

The transaction id

assetstring
Example:BTC

If it is blank, we will match deducted asset and target asset.

startTimeinteger required

UTC timestamp in ms

endTimeinteger required

UTC timestamp in ms

accountType'MAIN' | 'CARD'

MAIN: main account. CARD: funding account. If it is blank, we will query spot and card wallet, otherwise, we just query the corresponding wallet

currentinteger
Example:1

Current querying page. Start from 1. Default:1

sizeinteger
Example:100

Default:10 Max:100

recvWindowinteger
Example:5000

The value cannot be greater than 60000

timestampinteger required

UTC timestamp in ms

signaturestring required

Signature

Response

Query Convert Transfer

totalinteger required

Example response

{
  "total": 1,
  "rows": [
    {
      "tranId": 118263407119,
      "type": 244,
      "time": 1664442078000,
      "deductedAsset": "BUSD",
      "deductedAmount": "1",
      "targetAsset": "USDC",
      "targetAmount": "1",
      "status": "S",
      "accountType": "MAIN"
    }
  ]
}