User Trade Query
Over-the-counter transaction record
POST
https://service.xxx.com/platformapi/chainup/open/user/otcTradeRecord
It is necessary to package the data in the parameter table into JSON strings and use rsa for parameter encryption and signature as data and sign in the body
Headers
Name | Type | Description |
---|---|---|
Content-Type | String | application/json |
Request Body
Name | Type | Description |
---|---|---|
app_id* | String | Merchant AppKey |
time* | String | |
data* | String | |
sign* | String |
The following are the parameters involved in rsa encryption:
(openId, userId, mobileNumber, email) One of the four must be provided.
name | type | required | example | Description |
---|---|---|---|---|
openId | String | NO | openId, userId must pass one, while passing, take openId | |
userId | String | NO | openId, userId must pass one, while passing, take openId | |
mobileNumber | String | NO | 09011223 | Cell phone number |
String | NO | xxxxx@.com | User email(openId,userId,mobileNumber,email)Four choices are required | |
page | String | NO | 1 | The page number, defaulting to 1 for the first page. |
pageNumber | String | NO | 1000 | Default 1000 entries. |
Coin trading records
POST
https://service.xxx.com/platformapi/chainup/open/trade/getAll
Headers
Name | Type | Description |
---|---|---|
Content-Type | String | application/json |
Request Body
Name | Type | Description |
---|---|---|
app_id* | String | Merchant unique identifier: appId |
time* | String | |
sign* | String | |
data* | String |
The following are the parameters involved in rsa encryption:
name | type | required | example | Description |
---|---|---|---|---|
symbol | String | YES | btcusdt | symbol |
startDate | String | YES | 2099-01-01 00:00:00 | Start time, in seconds with the format "yyyy-MM-dd HH:mm:ss". |
endDate | String | YES | 2099-01-01 00:00:00 | End time, in seconds with the format "yyyy-MM-dd HH:mm:ss". |
pageSize | String | NO | 20 | Default 1000 entries. |
page | String | NO | 1 | The page number, defaulting to 1 for the first page. |
sort | String | NO | 1 indicates descending order. |
Coin-to-Coin Order Record
POST
https://service.xxx.com/platformapi/chainup/open/record/orderList
It is necessary to package the data in the parameter table into JSON strings and use rsa for parameter encryption and signature as data and sign in the body
Headers
Name | Type | Description |
---|---|---|
Content-Type | String | application/json |
Request Body
Name | Type | Description |
---|---|---|
app_id* | String | |
time | String | |
sign | String | |
data | String |
The following are the parameters involved in rsa encryption:
name | type | required | example | Description |
---|---|---|---|---|
symbol | String | YES | btcusdt | symbol |
uid | String | YES | 23000 | User id |
startDate | String | YES | 2099-01-01 00:00:00 | Start time, in seconds with the format "yyyy-MM-dd HH:mm:ss". |
endDate | String | YES | 2099-01-01 00:00:00 | End time, in seconds with the format "yyyy-MM-dd HH:mm:ss". |
pageSize | String | NO | 20 | Default 1000 entries. |
pageNumber | String | NO | 1 | The page number, defaulting to 1 for the first page. |
Last updated