Price Impact and Slippage in DEX Swaps
· 5 min read
TL;DR
Price impact measures how much your trade moves the market price. Slippage is the maximum deviation you'll accept between quoted and executed price. swapapi returns both values so you can protect users from unfavorable trades.
