prepare_aave_borrow
Build an unsigned Aave V3 borrow transaction for variable-rate loans using supplied collateral on Ethereum, Arbitrum, Polygon, or Base networks.
Instructions
Build an unsigned Aave V3 borrow transaction (variable rate — stable rate is deprecated and reverts on production markets). The borrower must already have sufficient collateral supplied.
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. |