Search on-chain deposit history
- GET
/api/v3/wallet/deposit/history
Weight(IP): 5
Returns paginated on-chain deposit history for the authenticated user. Requires ACCOUNT_DETAILS permission.
Request parameters
| Parameter | Type | Required? | Description |
|---|---|---|---|
| coin | String | No | Asset code. |
| network | String | No | Network name. If specified, coin is also required. |
| id | Long | No | Order ID, exact match. |
| txHash | String | No | On-chain transaction hash. |
| status | Integer | No | Order status. 0 = processing; 1 = successful; -1 = failed. |
| startTime | Long | No | Start creation time in milliseconds, inclusive. If used with endTime, the max. query range is 90 days by default. |
| endTime | Long | No | End creation time in milliseconds, exclusive. |
| pageNo | Integer | No | Page number, starting from 1. Default: 1. |
| pageSize | Integer | No | Entries per page. Default: 20; maximum: 50. |
Request example
curl "https://api-spot.weex.com/api/v3/wallet/deposit/history?coin=USDT&network=BSC&pageNo=1&pageSize=20" \
-H "ACCESS-KEY:*******" \
-H "ACCESS-SIGN:*******" \
-H "ACCESS-PASSPHRASE:*****" \
-H "ACCESS-TIMESTAMP:1735632000000"
Response parameters
| Field name | Type | Description |
|---|---|---|
| total | Long | Total entries. |
| pageSize | Integer | Entries per page. |
| pages | Integer | Total pages. |
| page | Integer | Current page number. |
| hasNextPage | Boolean | Whether the next page exists. |
| items | Array | List of deposit history. |
| items[].coin | String | Asset code. |
| items[].network | String | Network name. |
| items[].address | String | Deposit address. |
| items[].memo | String | Memo/Tag. |
| items[].txHash | String | On-chain transaction hash. |
| items[].outputIndex | Integer | UTXO output index. |
| items[].amount | Decimal | Deposit amount. |
| items[].status | Integer | Order status. 0 = processing; 1 = successful; -1 = failed. |
| items[].confirmedNum | Integer | Number of confirmations. |
| items[].depositAccountType | Integer | Account type for deposit crediting. |
| items[].createdAt | Long | Creation timestamp in milliseconds. |
| items[].updatedAt | Long | Last updated timestamp in milliseconds. |
Response example
{
"total": 1,
"pageSize": 20,
"pages": 1,
"page": 1,
"hasNextPage": false,
"items": [
{
"coin": "USDT",
"network": "BSC",
"address": "0xc45bf968483c0d5efac7799de616528b5db8b8cf",
"memo": "",
"txHash": "0x6096266710a85af82f8718c3e12fd7d039e0e1298e589faec10fda658698d7f6",
"outputIndex": 1,
"amount": 0.0001,
"status": 1,
"confirmedNum": 10,
"depositAccountType": 11,
"createdAt": 1787645911270,
"updatedAt": 1787645915640
}
]
}