blast.defi Table: ez_lending_repayments Type: View
This table contains transactions in which a borrower repays their loan (debt) across the ORBIT,
JUICE AND INIT protocols. Loans are repaid in the same asset borrowed, plus accrued interest.
Borrowers can pay back their loan based on the USD price as they can borrow any of the available
stable coins (USDC, DAI, USDT, etc.).
Columns
| Column Name | Data Type | Description |
|---|---|---|
| BLOCK_NUMBER | NUMBER | Also known as block height. The block number, which indicates the length of the blockchain, increases after the addition of each new block. |
| BLOCK_TIMESTAMP | TIMESTAMP_NTZ | The date and time at which the block was produced. |
| ORIGIN_FROM_ADDRESS | TEXT | The from address of this transaction. |
| ORIGIN_TO_ADDRESS | TEXT | The to address of this transaction. |
| ORIGIN_FUNCTION_SIGNATURE | TEXT | The function signature of this transaction. |
| TX_HASH | TEXT | Transaction hash is a unique 66-character identifier that is generated when a transaction is executed. This field will not be unique in this table, as a given transaction can include multiple events. |
| EVENT_INDEX | NUMBER | Event number within a transaction. |
| CONTRACT_ADDRESS | TEXT | The address interacted with for a given event. |
| EVENT_NAME | TEXT | The decoded event name for a given event. |
| PLATFORM | TEXT | The specific protocol where lending event occurred. |
| PAYER | TEXT | The address that initiated the repayment. |
| BORROWER | TEXT | Address that initiated the borrow event. |
| PROTOCOL_MARKET | TEXT | The protocol’s specific lending asset token, ie cWBTC or aETHUni. |
| TOKEN_ADDRESS | TEXT | The address of the token associated with the lending action. |
| TOKEN_SYMBOL | TEXT | The symbol of the token associated with the lending action. |
| AMOUNT_UNADJ | FLOAT | The non-decimal adjusted amount of tokens involved in the lending transaction. |
| AMOUNT | FLOAT | The decimal adjusted amount of tokens involved in the lending transaction, where available. |
| AMOUNT_USD | FLOAT | The value of the tokens in USD at the time of the lending transaction, where available. |
| EZ_LENDING_REPAYMENTS_ID | TEXT | The unique identifier for each row in the table. |
| INSERTED_TIMESTAMP | TIMESTAMP_NTZ | The utc timestamp at which the row was inserted into the table. |
| MODIFIED_TIMESTAMP | TIMESTAMP_NTZ | The utc timestamp at which the row was last modified. |