Deposit History (for local entities that required travel rule) (supporting network) (USER_DATA)
API Description
Fetch deposit history for local entities that required travel rule.
HTTP Request
GET /sapi/v1/localentity/deposit/history
Request Weight(IP)
1
Request Parameters
Name | Type | Mandatory | Description |
---|---|---|---|
trId | STRING | NO | Comma(,) separated list of travel rule record Ids. |
txId | STRING | NO | Comma(,) separated list of transaction Ids. |
tranId | STRING | NO | Comma(,) separated list of wallet tran Ids. |
network | STRING | NO | |
coin | STRING | NO | |
travelRuleStatus | INTEGER | NO | 0:Completed,1:Pending,2:Failed |
pendingQuestionnaire | BOOLEAN | NO | true: Only return records that pending deposit questionnaire. false/not provided: return all records. |
startTime | LONG | NO | Default: 90 days from current timestamp |
endTime | LONG | NO | Default: present timestamp |
offset | INT | NO | Default:0 |
limit | INT | NO | Default:1000, Max:1000 |
timestamp | LONG | YES |
- Please notice the default
startTime
andendTime
to make sure that time interval is within 0-90 days.- If both
startTime
andendTime
are sent, time betweenstartTime
andendTime
must be less than 90 days.
Response Example
[
{
"trId": 123451123,
"tranId": 17644346245865,
"amount": "0.001",
"coin": "BNB",
"network": "BNB",
"depositStatus": 0,
"travelRuleStatus": 1,
"address": "bnb136ns6lfw4zs5hg4n85vdthaad7hq5m4gtkgf23",
"addressTag": "101764890",
"txId": "98A3EA560C6B3336D348B6C83F0F95ECE4F1F5919E94BD006E5BF3BF264FACFC",
"insertTime": 1661493146000,
"transferType": 0,
"confirmTimes": "1/1",
"unlockConfirm": 0,
"walletType": 0,
"requireQuestionnaire": true,
"questionnaire": null
},
{
"trId": 2451123,
"tranId": 4544346245865,
"amount":"0.50000000",
"coin":"IOTA",
"network":"IOTA",
"depositStatus": 0,
"travelRuleStatus": 0,
"address":"SIZ9VLMHWATXKV99LH99CIGFJFUMLEHGWVZVNNZXRJJVWBPHYWPPBOSDORZ9EQSHCZAMPVAPGFYQAUUV9DROOXJLNW",
"addressTag":"",
"txId":"ESBFVQUTPIWQNJSPXFNHNYHSQNTGKRVKPRABQWTAXCDWOAKDKYWPTVG9BGXNVNKTLEJGESAVXIKIZ9999",
"insertTime":1599620082000,
"transferType":0,
"confirmTimes": "1/1",
"unlockConfirm": 0,
"walletType": 0,
"requireQuestionnaire": false,
"questionnaire": "{'question1':'answer1','question2':'answer2'}"
}
]