Overview
ParaSwap Delta is an intent-based protocol that enables a ParaSwap user to make gasless swaps where multiple agents compete to execute the trade at the best price possible. This way the user doesn't need to make a transaction themselves but only to sign a Delta Order.
The easiest way to make use of the Delta is to use the Paraswap SDK. Refer here SDK Delta documentation.
Simple Delta flow using API with axios
looks like this:
1. Request prices for a token pair
2. Build a Delta order
If you want to earn fees on your users orders, they have to be set on this step. For more details, check Order Building section.
3. Sign the received Order
4. Submit the signed Order
5. Check the Order Auction Status
A more detailed example of Delta usage, including fallback to Market (traditional swapping flow), can be found in examples.
Last updated