Get RWUSD subscription history(USER_DATA)
API Description
Get RWUSD subscription history
HTTP Request
GET /sapi/v1/rwusd/history/subscriptionHistory
Request Weight(IP)
150
Request Parameters
Name | Type | Mandatory | Description |
---|---|---|---|
asset | STRING | NO | USDC or USDT |
startTime | LONG | NO | |
endTime | LONG | NO | |
current | LONG | NO | Currently querying page. Start from 1. Default: 1 |
size | LONG | NO | Default: 10, Max: 100 |
recvWindow | LONG | NO | |
timestamp | LONG | YES |
- The time between
startTime
andendTime
cannot be longer than 6 months.- If
startTime
andendTime
are both not sent, then the last 30 days' data will be returned.- If
startTime
is sent butendTime
is not sent,endTime
will default to current time, and results fromstartTime
onward will be returned.- If
endTime
is sent butstartTime
is not sent,startTime
defaults to the current time advanced by one month, and data betweenstartTime
andendTime
will be returned.
Response Example
{
"rows": [
{
"time":1575018510000,
"asset":"USDC",
"amount":"100",
“receiveAsset”:"RWUSD",
“receiveAmount”:"100",
“status”:"SUCCESS" // PENDING,SUCCESS
}
],
"total": 1
}