Lending (Actions)
Deposit, withdraw, borrow, repay, e-mode, enable-collateral
📄️ List available action endpoints
Returns the grouped list of available action endpoints.
📄️ Build deposit transaction
Build calldata for depositing into a lending pool. Use `mode=direct` (default) for raw protocol interaction or `mode=proxy` for 1delta composer. Identify the market via `marketUid` (format: `lender:chainId:address`).
📄️ Build deposit transaction with simulation
Build calldata for depositing into a lending pool and simulate post-trade state. Same parameters as GET. Send a JSON body with current portfolio state (`balanceData`, `aprData`) to receive projected post-trade metrics in the `simulation` field.
📄️ Build withdraw transaction
Build calldata for withdrawing from a lending pool. Identify the market via `marketUid` (format: `lender:chainId:address`).
📄️ Build withdraw transaction with simulation
Build calldata for withdrawing from a lending pool and simulate post-trade state. Same parameters as GET. Send a JSON body with current portfolio state (`balanceData`, `aprData`) to receive projected post-trade metrics in the `simulation` field.
📄️ Build borrow transaction
Build calldata for borrowing from a lending pool. Identify the market via `marketUid` (format: `lender:chainId:address`).
📄️ Build borrow transaction with simulation
Build calldata for borrowing from a lending pool and simulate post-trade state. Same parameters as GET. Send a JSON body with current portfolio state (`balanceData`, `aprData`) to receive projected post-trade metrics in the `simulation` field.
📄️ Build repay transaction
Build calldata for repaying a loan. Identify the market via `marketUid` (format: `lender:chainId:address`).
📄️ Build repay transaction with simulation
Build calldata for repaying a loan and simulate post-trade state. Same parameters as GET. Send a JSON body with current portfolio state (`balanceData`, `aprData`) to receive projected post-trade metrics in the `simulation` field.
📄️ Switch e-mode
Build calldata for switching the efficiency mode on Aave V3.
📄️ Enable/disable collateral
Build calldata for toggling an asset as collateral. Identify the market via `marketUid` (format: `lender:chainId:address`).
📄️ Repay with aToken
Build calldata for repaying a loan using aTokens on Aave V3. Identify the market via `marketUid` (format: `lender:chainId:address`).