Skip to content

Exit Simulation

What does a trade of this size do to the pool, and does a sell go through?

Method

Reads
Pool reserves and fee; a sell simulated over RPC with a null signature.
Returns
Price impact and slippage at 0.1, 1 and 5 SOL.
Rule
Arithmetic on the reserves. The simulation signs and sends nothing.
Runs in
hub/sell-sim.js, amm
Access
In the free coin check

What it cannot see

Reserves move every block. The numbers hold for that moment only.

On a real check

Selling 1 SOL moved the price -3.5%.

$ASCEND, saved 8 Nov 2026. Not live data, not advice.

Open the full check

Used in