Price impact
How to calculate price impact?
Price impact means the variation rate between the prices of the two coins in actual transactions and the pre-calculated prices.
The SDK providers the sdk.Swap.calculateSwapPriceImpact
method to calculated it.
Example
Last updated