Actions61
- Activity Actions
- Asset Actions
- Custom Query Actions
- Hub Actions
- Lending Actions
- Market Data Actions
- Position Management Actions
- Position Swap Actions
- Protocol Actions
- Reserve Actions
- Spoke Actions
- Swap Actions
- User Position Actions
Lending → Prepare Withdraw
AI-generatedSummary
Prepare a withdraw from a specific Aave V4 lending reserve.
Inputs
- chainId — Chain name or ID; can be specified via expression.
- lendingReserveId (required) — The reserve to withdraw from; choose from list or specify an ID via expression.
- lendingAmount (required) — Amount in the asset's main unit (e.g., 1.5 for 1.5 ETH).
- lendingSenderAddress (required) — Sender wallet address for the transaction.
- lendingUseMax — If true, withdraw the maximum available amount; only applicable for withdraw operations.
Output shape
a transaction object that must be signed and sent off‑chain
Successful execution resolves to a transaction hash; errors reject with an error object.
Examples
Example 1: Withdraw 2.3 ETH from the user's 123 reserve on Ethereum mainnet
Chain Name or ID: "Ethereum Mainnet"; Reserve Name or ID: "0xABC...123"; Amount: "2.3"; Sender Address: "0xUserAddr..."; Use Max Amount: false