GET: /user/history
Last updated
Last updated
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 |
---|---|---|
UserHistoryResponse
The user history graph API response contains the transaction data of specific or all users.
Type | Key | Description |
---|---|---|
UserHistoryData
Type | Key | Description |
---|---|---|
UserHistoryDataRecord
Type | Key | Description |
---|---|---|
string
user_address
The requested user address
uint32
offset
Offset of pagination. Default: 0
uint32
limit
Limit of pagination
bool
status
If set false, indicates an error returning data
Struct
data
User transaction data. See UserHistoryData
uint32
count
Count of records
repeated UserHistoryDataRecord
rows
The list of records (see UserHistoryDataRecord
below) matching the requested filter
uint32
id
History id
string
user_address
User address
string
from
From address
string
to
To address
uint32
blockNumber
Block number of graph history
uint32
blockTimestamp
Unix block timestamp
string
txHash
Transaction Hash
string
logIndex
Log Index
string
action
User action
string
symbol
Symbol
uint32
decimal
Asset decimal
string
amount
Asset amount
uint32
gasFee
Gas fee
string
txFee
Transaction fee
string
data
Transaction logs
string
oTokenAddress
oToken address
Timestamp
createdAt
Creation timestamp
Timestamp
updatedAt
Updat timestamp