GET: /market_history/graph
MarketHistoryGraphRequest
The market history graph API returns information about a market between two timestamps. The requestor can choose the asset and number of buckets to return within the range. For example:
Type | Key | Description |
bytes |
| The requested asset |
string |
| Graph log interval. |
uint32 |
| Offset of pagination. |
uint32 |
| Limit of pagination. |
MarketHistoryGraphResponse
The market history graph API response contains the rates for both suppliers and borrowers, as well as the sequence of total supply and borrows for the given market.
Type | Key | Description |
bool |
| If set false, indicates an error returning data. |
MarketHistoryGraphData |
| Market history graph data. |
MarketHistoryGraphData
Type | Key | Description |
uint32 |
| Limit of pagination |
uint32 |
| Total count of data |
array |
| Array of |
MarketHistoryGraph
Type | Key | Description |
uuid |
| History id |
string |
| Asset address |
uint32 |
| Block number of graph history |
uint32 |
| Unix block timestamp |
string |
| Borrow apy |
string |
| Supply apy |
string |
| Borrow strk apy |
string |
| Supply strk apy |
string |
| Exchange rate |
string |
| USD price of asset |
string |
| Total borrow amount |
string |
| Total supply amount |
datetime |
| Created timestamp |
datetime |
| Updated timestamp |
Last updated