Deterministic preview of a leveraged position — no wallet needed.
Previews the exact position that opening would produce. Deterministic and read-only — identical for ETH and ERC-20 pay tokens, with no on-chain call and no wallet.
Input
string
required
Morpho market id of the strategy.
string
required
Token you pay in. The collateral (opened directly) or any other token (zapped to collateral first). Native ETH = the zero address.
string
required
Amount of payToken in human units, e.g. "10000".
number
Target leverage, e.g. 3. Provide this ordesiredLtv.
string
Target LTV percent, e.g. "66.67". Provide this orleverage.