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.

User Position → Get Position

AI-generated

Summary

Fetch detailed information about a user's Aave V4 position.

Inputs

  • chainId — Identifier or name of the chain; can be supplied via built‑in options or expression.
  • userAddress (required) — Ethereum address of the user whose position is queried.
  • positionId — Specific position identifier; optional if spokeId is provided.
  • spokeIdForPosition — Identifier of the spoke (pool) associated with the position; optional if positionId is provided.

Output shape

a single user position record

Returns detailed position metadata such as collateral balances, debt amounts, health factor, and risk premiums; optional fields may be absent depending on the provided identifiers.

Examples

Example 1: Retrieve a specific position using its ID on Ethereum Mainnet.

chainId = 1, positionId = "position_12345", userAddress = "0xAbc..."

Example 2: List all positions for a user on Polygon.

chainId = 137, userAddress = "0xDef...", spokeIdForPosition = ""

Example 3: Get risk premium breakdown for a position on Arbitrum.

userAddress = "0xGhi...", positionId = "pos_67890", spokeIdForPosition = "spoke_1"

Links

Discussion