GET: /user/history
The user history service retrieves historical transaction information about users. You can use this API to find out the user history.
UserHistoryRequest
The request to the User History API can specify a number of filters, such as which accounts to retrieve information about.
Type | Key | Description |
---|---|---|
string |
| The requested user address |
uint32 |
| Offset of pagination. |
uint32 |
| Limit of pagination |
UserHistoryResponse
The user history graph API response contains the transaction data of specific or all users.
Type | Key | Description |
---|---|---|
bool |
| If set false, indicates an error returning data |
Struct |
| User transaction data. See |
UserHistoryData
Type | Key | Description |
---|---|---|
uint32 | count | Count of records |
repeated UserHistoryDataRecord | rows | The list of records (see |
UserHistoryDataRecord
Type | Key | Description |
---|---|---|
uint32 |
| History id |
string |
| User address |
string |
| From address |
string |
| To address |
uint32 |
| Block number of graph history |
uint32 |
| Unix block timestamp |
string |
| Transaction Hash |
string |
| Log Index |
string |
| User action |
string |
| Symbol |
uint32 |
| Asset decimal |
string |
| Asset amount |
uint32 |
| Gas fee |
string |
| Transaction fee |
string |
| Transaction logs |
string |
| oToken address |
Timestamp |
| Creation timestamp |
Timestamp |
| Updat timestamp |
Last updated