Get Sub-Wallet Deposit History By Prime Wallet
GET
/open-api/v2/subwallet/deposit/historyThis method allows you to get deposit history of the requested Wallet Id, coinSymbol and network.
- If PrimeWallet ID provided, returns sub wallet deposit history under the Prime Wallet.
- If SubWallet ID provided, returns specified sub wallet deposit history.
Notes:
- walletId must be provided.
- Please notice the default startTime and endTime to make sure that time interval is within 0-30 days.
API Key permission group : Enable Enquiry
Request
Query Params
walletId
string
required
Prime wallet id or sub wallet id
Example:
1325589336357780500
coinSymbol
string
optional
Coin symbol (in capital letters); All symbols if not specific
Example:
USDT
network
string
optional
Network symbol; All networks if not specific
Example:
ETH
startTime
integer
required
Start time (timestamp in milliseconds)
Example:
1640995200000
endTime
integer
required
End time (timestamp in milliseconds)
Example:
1640995200000
pageLimit
integer
optional
Page limit, min: 1, max: 500
Example:
25
pageNo
integer
optional
Page number, min: 1
Example:
1
timestamp
integer
required
Current Timestamp in millisecond
Example:
1640995200000
Header Params
open-apikey
string
required
OpenAPI key string
signature
string
required
Signature of the request
Request samples
Responses
The operation succeeded(200)
Business error(200)
The client request is invalid(400)
Authentication failed (e.g., invalid token specified by the Authorization header)(401)
Authentication failed, but the operation is not allowed(403)
Requested resource does not exist(404)
Client request rate exceeded the limit(429)
System error(500)
The operation succeeded
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
data
object | null
optional
response data, maybe null
data
array[object (Transaction of sub-wallet) {19}]
required
totalPage
integer
required
pageNo
integer
required
pageLimit
integer
required
code
string
required
'000000' indicates success, while any others indicate failure.
message
string
required
When the code is '000000' (success), it represents the details of the response. Otherwise, it represents the details of the error.
Example
{
"data": {
"data": [
{
"orderViewId": "20373289000288833536",
"txId": null,
"transferType": 20,
"direction": 10,
"fromAddress": "370387791055810560",
"toAddress": "370388040948248576",
"network": null,
"coinSymbol": "BTC",
"amount": "10.11000000",
"feeSymbol": null,
"feeAmount": "0.00000000",
"status": 40,
"confirmedBlockCount": null,
"unlockConfirm": null,
"maxConfirmBlock": null,
"memo": null,
"txTime": 1714129420298,
"walletIdStr": "370388040948248576",
"requestId": null
}
],
"totalPage": 1,
"pageNo": 1,
"pageLimit": 25
},
"code": "000000",
"message": "Success"
}
Last modified: 5 months ago