Aave V4 icon

Aave V4

Query Aave V4 DeFi protocol. Use this to: check supported chains, list hubs/spokes/reserves, get user positions/balances/supplies/borrows by wallet address, view transaction history, get exchange rates and APY history. Supports custom GraphQL queries for advanced use cases.

Asset → Get Borrow History

AI-generated

Summary

Fetch borrow history for an ERC20 token on a specified chain

Inputs

  • chainId — Chain name or ID selected from dropdown; can be provided via an expression
  • assetTokenAddress (required) — ERC20 token address of the asset; must be supplied
  • assetAdvancedOptions — Advanced options such as using a cached asset ID instead of the token address
  • assetHistoryWindow — Time window for historical borrow data (e.g., Last Day, Last Week, All Time)

Output shape

array of borrow history entries

Each entry includes borrow amount, debt position, interest rates, and timestamps; optional fields may be omitted

Examples

Example 1: Review borrowing activity for a token over the past week

chainId selected, assetTokenAddress entered, assetHistoryWindow = LAST_WEEK

Example 2: Use a cached asset ID instead of token address to fetch borrow history

assetId provided (base64 encoded), assetHistoryWindow default

Example 3: Fetch full borrow history for all time

assetHistoryWindow = ALL

Links

Discussion