History Subgraph
Subgraph of protocol history (borrows, repays, mints, liquidations, votes, etc.)
History action
HistoryItem schema:
Field | Type | Description |
---|---|---|
id | Bytes! (required string) | Unique history item id |
type | HistoryItemType! (required string) | Type of history item, all types described in HistoryItemType enum |
to | Bytes! (required string) | Transaction to property address, may be contract or user address in case of transfer |
from | Bytes! (required string) | Transaction from property address |
amount | BigInt! (required string) | Amount of operation from event (borrow amount, repay amount, etc.) |
blockNumber | BigInt! (required string) | Number of the block when history item was created |
blockTimestamp | BigInt! (required string) | Timestamp of the block when history item was created |
transactionHash | Bytes! (required string) | Hash of the transaction with event of history item creation |
Example of HistoryItem querying:
Last updated