I query the api for bsc


I am looking for pancakeswap so I filter for source = "PancakeSwap_V2", I get a path which is impossible

My result path = dai -> busd -> epik

Sometimes I get path: peggedEth->epik->busd and something similar but never the real path, when the path should be busd -> wbnb -> epik

Am I doing something wrong?

1 Answer 1


By looking for PancakeSwap do you mean you want your order to be exclusively routed through PancakeSwap?

Currently we don't have a way to filter by includedSources except in the case of RFQ liquidity. However, the above request at the current time of writing routes through MultiHop, so if you include the param excludedSources=MultiHop it will exclude this source and give you the next best possible pricing (exclusively via PancakeSwap V2 at the time of writing).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.