get https://api.liquiditytech.com/api/v1/asset/bills
Retrieve the transaction history of a specific sub-portfolio, including deposits, transfers and withdrawals.
Tips
Please note that this API only applies to sub-portfolio's API Key so far and can't apply to primary-user's API Key yet. For checking the deposit/transfer/withdrawal history of primary-user and main portfolio, please use deposit/transfer/withdrawal history API.
Request
| Field name | Type | Necessary | Remarks |
|---|---|---|---|
| currency | String | N | Currency |
| type | Integer | N | Type: 0:deposit 1:transfer 2:withdraw |
| status | Integer | N | 0:pending 1:succeed 2:failed |
| startTime | Long | N | Millisecond timestamp |
| endTime | Long | N | Millisecond timestamp |
| page | Integer | N | Current page, default is 1 |
| pageSize | Integer | N | Number of results per page, default is 1000 |
Response
| Field name | Type | Remarks |
|---|---|---|
| id | Long | Transfer ID / Deposit ID / Withdraw ID |
| currency | String | Currency |
| clientOrderId | Long | User-defined ID |
| amount | BigDecimal | Amount you created a transaction |
| amountReceived | BigDecimal | Amount you received |
| networkFee | BigDecimal | NetworkFee |
| network | String | This field will only take effect in cross-exchange transfers. |
| txId | String | On-chain transaction ID |
| fromTradeAccountId | Long | Outgoing Trade account ID (obtained through Trade account list) This field is applicable to Exchange account, Funding Account, CL Trading Account and Trading Portfolio's ID. |
| toTradeAccountId | Long | Posting Trade account ID (obtained through Trade account list) This field is applicable to Exchange account, Funding Account, CL Trading Account and Trading Portfolio's ID. |
| fromAccountType | String | - When fromAccount is a Trading Portfolio, this field shows the destination exchange of the portfolio such as Binance, OKX, EDX |
| toAccountType | String | - When toAccount is a Trading Portfolio, this field shows the destination exchange of the portfolio such as Binance, OKX, EDX |
| status | Integer | Transfer status: 0: execution in progress 1: execution succeeded 2: execution failed |
| type | Integer | 0:deposit 1:transfer 2:withdraw |
| createdAt | Long | The time when the record was created, expressed as a timestamp in milliseconds |
