Skip to main content

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

ParameterTypeRequired?Description
coinStringNoAsset code.
networkStringNoNetwork name. If specified, coin is also required.
idLongNoOrder ID, exact match.
txHashStringNoOn-chain transaction hash.
statusIntegerNoOrder status. 0 = processing; 1 = successful; -1 = failed.
startTimeLongNoStart creation time in milliseconds, inclusive. If used with endTime, the max. query range is 90 days by default.
endTimeLongNoEnd creation time in milliseconds, exclusive.
pageNoIntegerNoPage number, starting from 1. Default: 1.
pageSizeIntegerNoEntries 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 nameTypeDescription
totalLongTotal entries.
pageSizeIntegerEntries per page.
pagesIntegerTotal pages.
pageIntegerCurrent page number.
hasNextPageBooleanWhether the next page exists.
itemsArrayList of deposit history.
items[].coinStringAsset code.
items[].networkStringNetwork name.
items[].addressStringDeposit address.
items[].memoStringMemo/Tag.
items[].txHashStringOn-chain transaction hash.
items[].outputIndexIntegerUTXO output index.
items[].amountDecimalDeposit amount.
items[].statusIntegerOrder status. 0 = processing; 1 = successful; -1 = failed.
items[].confirmedNumIntegerNumber of confirmations.
items[].depositAccountTypeIntegerAccount type for deposit crediting.
items[].createdAtLongCreation timestamp in milliseconds.
items[].updatedAtLongLast 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
}
]
}