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.

Position Management → Update Position Conditions

AI-generated

Summary

Update the conditions of an Aave V4 user position

Inputs

  • chainId — Choose from the list, or specify an ID using an expression
  • pmUserPositionId (required) — The user position ID to update
  • pmUpdateType — The type of update to perform (e.g., update all dynamic configuration or just the risk premium)

Output shape

An object indicating the result of the update, typically containing a success status and possibly the updated position configuration

Success returns a response object; errors raise exceptions

Examples

Example 1: Update risk premium for a specific position on Ethereum

chainId: 'mainnet', pmUserPositionId: '12345', pmUpdateType: 'JUST_RISK_PREMIUM'

Example 2: Modify all dynamic configuration for a position on Polygon

chainId: 'polygon', pmUserPositionId: '67890', pmUpdateType: 'ALL_DYNAMIC_CONFIG'

Links

Discussion