Get Spot Account Bills
HTTP request Get Spot Account Bills
- POST /api/v2/account/bills
Rate limit: 10 requests/second
Request parameters
| Parameter | Parameter type | Required? | Description | 
|---|---|---|---|
| coinId | Integer | No | Crypto ID | 
| bizType | String | No | Business type deposit: Deposit withdraw: Withdrawal transfer_in: Transfer-in transfer_out: Transfer-out trade_in: Asset purchase trade_out: Asset sale order_fill_fee_income: Fee income order_liquidate_fee_income: Liquidation fee income | 
| after | Long | No | Records created AFTER this timestamp | 
| before | Long | No | Records created BEFORE this timestamp | 
| limit | Integer | No | Number of results, default: 10, maximum: 100. | 
Request example
curl -X POST "https://api-spot.weex.com/api/v2/account/bills" \
   -H "ACCESS-KEY:*******" \
   -H "ACCESS-SIGN:*******" \
   -H "ACCESS-PASSPHRASE:*****" \
   -H "ACCESS-TIMESTAMP:1659076670000" \
   -H "locale:zh-CN" \
   -H "Content-Type: application/json" \
   -d '{"coinId": 1}'
Response parameters
| Field Name | Type | Field Description | 
|---|---|---|
| billId | String | Bill ID | 
| coinId | Integer | Currency ID | 
| coinName | String | Currency name | 
| bizType | String | Business type | 
| fillSize | String | Filled quantity | 
| fillValue | String | Filled value | 
| deltaAmount | String | Balance change amount | 
| afterAmount | String | Post-transaction balance | 
| fees | String | Transaction fee | 
| cTime | String | Creation timestamp | 
Response example
{
  "code": "00000",
  "msg": "success",
  "requestTime": 1743732387987,
  "data": [{
    "billId": "601797854712824762",
    "coinId": 1,
    "coinName": "BTC",
    "bizType": "transfer_in",
    "fillSize": "0",
    "fillValue": "0",
    "deltaAmount": "0.0040000000000000",
    "afterAmount": "0.0040000000000000",
    "fees": "0",
    "cTime": "1743479789427"
  }]
}