Skip to main content
POST
Plan Loop Long

Plan Loop Long

Creates a plan to open or increase a leveraged long position on a Morpho market. Looping borrows the backing asset, swaps it for the exposure asset, and supplies it as collateral — repeatedly — to achieve leverage. Returns a plan ID and an EIP-712 digest that must be signed to authorize execution.

Request

Path parameters

Body parameters

Examples

Response (201 Created)

Response fields

Errors

Notes

  • Plans expire after 2 minutes. Sign and execute via Execute Plan before expiry.
  • The market_id must be a valid Morpho market ID (0x-prefixed 32-byte hex).
  • Common pool_fee values: 500 (0.05%), 3000 (0.3%), 10000 (1%). These correspond to Uniswap V3 fee tiers.
  • Use Plan Unloop Long to close or reduce the position.