We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://developers.paraswap.network/api/get-rate-for-a-token-pair version: paraswap-sdk 5.0.0
const priceRoute = await paraSwap.getRate(from.address, to.address, srcAmount.toString(), '0x0000000000000000000000000000000000000000', SwapSide.SELL, { excludeContractMethods: [ 'swapOnZeroXv2', 'swapOnZeroXv4', 'swapOnUniswap', 'swapOnUniswapFork' ], partner: 'PIGGY' }, from.decimals, to.decimals)
It has no error, but it still return the swapOnZeroXv4 swap method, param 'excludeContractMethods' does not work in paraswap getRate method
The text was updated successfully, but these errors were encountered:
Merge pull request paraswap#95 from paraswap/fix/dex-key-special
e0d6b44
Handle special dexkey for payload encoding
No branches or pull requests
https://developers.paraswap.network/api/get-rate-for-a-token-pair
version: paraswap-sdk 5.0.0
It has no error, but it still return the swapOnZeroXv4 swap method,
param 'excludeContractMethods' does not work in paraswap getRate method
The text was updated successfully, but these errors were encountered: