Skip to main content

Deposit

GET 

/v1/actions/lending/deposit

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). Approval transactions are automatically filtered: if the user already has sufficient allowances, permissions (envelope) and permissionTxns (per-entry) will be empty. Pass simulate=true to include projected post-trade metrics.

Morpho Midnight order-book markets (MORPHO_MIDNIGHT_<id>): depositing = lending = TAKING the ask side of the book — this endpoint fills the lendOffers returned by /v1/data/lending/latest?includeOffers=true, best-first. To post your own limit offer instead (MAKE), use /v1/actions/midnight/make.

Request

Responses

Transaction calldata and approvals for deposit