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 Permit Typed Data

AI-generated

Summary

Get a permit typed data for an Aave V4 asset operation.

Inputs

  • chainId — Chain name or ID; choose from the list or specify an expression.
  • permitType (required) — The type of operation to get permit for; either 'repay' or 'supply'.
  • permitReserveId (required) — Reserve identifier; choose from the list or specify an expression.
  • permitAmount (required) — Amount of the asset in main units (e.g., '1.5' for 1.5 ETH).
  • permitSenderAddress (required) — Wallet address that will sign the permit.
  • permitEnableCollateral — Enable the supplied asset as collateral; only relevant for supply permits.

Output shape

an object representing the permit typed data

Returns a single permit object containing fields defined by Aave's permit schema (e.g., deadline, expiry, etc.). Errors follow the standard error envelope.

Examples

Example 1: Supply 2.5 ETH from wallet 0xAbc... to reserve 0xReserve... on Ethereum mainnet.

{"chainId":"1","permitType":"supply","permitReserveId":"0xReserve...","permitAmount":"2.5","permitSenderAddress":"0xAbc...","permitEnableCollateral":true}

Links

Discussion