There is no way to get `priceImpact`
troman29 opened this issue · comments
Roma T commented
Hello developers. Your SDK lacks the priceImpact
calculation.
Pavel Rakhmanov commented
This SDK is a thin wrapper on the contracts and doesn't provide any additional logic.
To get additional data (such as price impact calculation), you can use our public REST API
The method you are probably interested in is /v1/swap/simulate
or v1/reverse_swap/simulate
. You can get more information about these methods in Swagger