Skip to main content

SimulationPreState

Portfolio state before the trade.

healthFactornumber

Health factor before the trade (null-safe: capped at 1e18 when no debt)

Example: 1.85
borrowCapacitynumber

Borrow capacity (USD) before the trade

Example: 3000
SimulationPreState
{
"healthFactor": 1.85,
"borrowCapacity": 3000
}