get https://api.amberdata.com/defi/lending/compoundv2/wallets/
This API retrieves information about all of the actions taken by a specific wallet on the protocol within a certain timespan.
Time Range Limit
The maximum time range (difference between endDate and startDate) is 60 days.
Not specifying startDate and endDate
If the startDate and endDate query parameters are not provided, the API will return the data from the previous 24 hours.
Understanding Actions in Compound
There are many different types of actions in Compound, as you'll see in the action property for each item of the payload.data
array. The guide below will help you understand the possible actions.
Compound Actions |
---|
Deposit |
Repay |
Borrow |
Withdraw |
LiquidationCall |