Get Transfer Record
HTTP request Get Transfer Record
- GET /api/v2/account/transferRecords
Rate limit: 10 requests/second
Request parameters
| Parameter | Parameter type | Required? | Description | 
|---|---|---|---|
| coinId | Integer | No | Crypto ID | 
| fromType | String | No | Account type (accountType) | 
| after | Long | No | Pass to tradeTime and retrieve the data before this tradeTime. | 
| before | Long | No | Pass to tradeTime and retrieve the data after this tradeTime. | 
| limit | Integer | No | Number of results, default: 100, maximum: 500. | 
Request example
curl "https://api-spot.weex.com/api/v2/account/transferRecords?coinId=22" \
   -H "ACCESS-KEY:*******" \
   -H "ACCESS-SIGN:*******" \
   -H "ACCESS-PASSPHRASE:*****" \
   -H "ACCESS-TIMESTAMP:1659076670000" \
   -H "locale:zh-CN" \
   -H "Content-Type: application/json"
Response parameters
| Field | Field Description | 
|---|---|
| coinName | Name of the crypto | 
| status | Transfer status | 
| toType | Recipient account type (accountType) | 
| toSymbol | Trading pair of the recipient account | 
| fromType | Sender account type (accountType) | 
| fromSymbol | Trading pair of the sender account | 
| amount | Quantity | 
| tradeTime | Time of trade (timestamp in milliseconds) | 
Response example
{
    "code":"00000",
    "data":[
        {
            "coinName":"btc",
            "status":"SUCCESS",
            "toType":"USD_MIX",
            "toSymbol":"",
            "fromType":"CONTRACT",
            "fromSymbol":"BTC/USD",
            "amount":"1000.00000000",
            "tradeTime":"1631070374488"
        }
    ],
    "msg":"success",
    "requestTime":1631608142260
}