prepare_aave_withdraw
Build an unsigned Aave V3 withdraw transaction to remove assets from lending pools on Ethereum, Arbitrum, Polygon, or Base. Specify amount or use "max" for full balance.
Instructions
Build an unsigned Aave V3 withdraw transaction. Pass amount: "max" to withdraw the entire aToken balance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wallet | Yes | ||
| chain | No | ethereum | |
| asset | Yes | ||
| amount | Yes | Human-readable decimal amount of `asset`, NOT raw wei/base units. Example: "1.5" for 1.5 USDC, "0.01" for 0.01 ETH. Pass "max" for full-balance withdraw/repay. |