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 Price History

AI-generated

Summary

Fetch historical price data for a specified asset on a given chain.

Inputs

  • chainId — Choose the blockchain network; can be selected from a dropdown or provided via expression.
  • assetTokenAddress (required) — The ERC20 token address for the asset; required.
  • assetAdvancedOptions — Options for asset handling; includes ability to use a cached Asset ID instead of a token address.
  • assetHistoryWindow — Select the time window for historical data retrieval.
  • assetPriceCurrency — Currency in which to present price data.

Output shape

an array of historical price records

Each record contains a timestamp and price; the array may be empty if no data matches the request.

Examples

Example 1: Retrieve last 6 months of USD price history for a token

chainId: 1, assetTokenAddress: "0x123abc...", assetHistoryWindow: "LAST_SIX_MONTHS", assetPriceCurrency: "USD"

Links

Discussion