Loan events are when a borrower requests a loan from a lending protocol.
The <chain>.lending.loans table contains borrow events from Aave v1, v2, v3 and Compound v2 and v3 and Morpho Blue protocols, consolidated into a single table for easy querying.
This table tracks all borrowing activities across major lending protocols, providing comprehensive information about loan amounts, tokens, borrowers, and transaction details.
borrower_address reflects the address emitted by the specific event Allium decodes for a protocol. For most protocols that’s the borrowing wallet, but for protocols that route borrows through a vault, router, or liquidity layer below the user-facing entry point, it can instead be that intermediate contract. When you need reliable end-user attribution, filter on transaction_from_address instead — it’s the transaction originator, though it won’t capture borrows routed through a smart contract wallet, batcher, or aggregator.
Sample Query
Total borrowers of UDSC (by contract address) on Ethereum blockchain in the past 90 days.
Most commonly borrowed tokens on Ethereum blockchain by borrowers count.
Table Columns
Unique Key: unique_id