The team of 0xprofessional quality Decentralized Exchange Aggregation API for Blockchain Developerstoday announced a new feature with the introduction of “Slippage Protection” for the 0x API that enables intelligent MEV-compliant order routing for DEX transactions.
Slippage Protection integrates slippage statistics into the 0x API algorithm to provide the optimal trade route. With Slippage Protection, the 0x API allows developers to display more reliable quotes and provide the best executed price to their users.
Executed price?
This is the price that end-users accept including gas fees and slippage after the on-chain transaction is executed. This is an important distinction as many DeFi applications today only display quoted prices, which do not incorporate slippage and are often different from the executed price.
How it works: anti-slip protection
Slippage Protection ingests slippage metrics and their statistical properties to model and predict slippage outcomes for different liquidity sources, trading pairs, and trade sizes.
These pattern predictions are then fed into the 0x API’s smart order routing to identify the route(s) likely to yield the best-executed price. The result is a more transparent and consistently better-executed price than what users are currently experiencing in other DeFi wallets and apps.
Currently, Slippage Protection is supported on Ethereum for the most active trading pairs (ETH/USDC, ETH/DAI, ETH/USDT, ETH/WBTC, WETH/USDC, WETH/DAI, WETH.USDT, WETH/WBTC ).
“We are excited to equip DeFi developers and enterprise users with the tools and infrastructure to deliver the best DEX trading experience to their users. Starting today, Slippage Protection is automatically enabled in API 0x and no additional integration is required. If you’re a developer looking for more information about Slippage Protection and the 0x API, start with our documentation for developers. Enterprise users who need an API key, please Contact us directly.”
– The 0x team