We’ve added a new
price_impact_pips field to the Omniston API and SDK.The
price_impact_pips field is available for Swap settlement via DEXs only. It estimates the relative difference between the swap execution price and the mid-market price immediately before the swap, helping developers identify swaps with significant price impact caused by trade size or limited liquidity.Why it matters
✅ Detect potentially unfavorable swap rates before execution.
✅ Improve swap UX by surfacing price impact to users.
✅ Build additional safeguards for large or illiquid swaps.
The value is returned in percentage points (
1/1,000,000 = 0.0001%) and is omitted when the price impact cannot be estimated. Example:
optional uint32 price_impact_pips = 53;
This update is available now in the latest Omniston SDK.
👉 Full change log: https://github.com/ston-fi/omniston-sdk/blob/main/CHANGELOG.md#14-07-2026