Skip to main content

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

NameTypeMandatoryDescription
trIdSTRINGNOComma(,) separated list of travel rule record Ids.
txIdSTRINGNOComma(,) separated list of transaction Ids.
tranIdSTRINGNOComma(,) separated list of wallet tran Ids.
networkSTRINGNO
coinSTRINGNO
travelRuleStatusINTEGERNO0:Completed,1:Pending,2:Failed
pendingQuestionnaireBOOLEANNOtrue: Only return records that pending deposit questionnaire. false/not provided: return all records.
startTimeLONGNODefault: 90 days from current timestamp
endTimeLONGNODefault: present timestamp
offsetINTNODefault:0
limitINTNODefault:1000, Max:1000
timestampLONGYES
  • Please notice the default startTime and endTime to make sure that time interval is within 0-90 days.
  • If both startTime and endTime are sent, time between startTime and endTime 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'}"
}
]