fee-abstraction icon indicating copy to clipboard operation
fee-abstraction copied to clipboard

Add support for getting price with multihop route

Open tuantran1702 opened this issue 10 months ago • 5 comments

Current Limitation

Price data is only available for token pairs with existing liquidity pools on Osmosis. The Multihop route is calculated off-chain. https://github.com/osmosis-labs/osmosis/blob/e4290c54c0f77b91b6a08bdad1ec62f9739dc963/x/poolmanager/README.md#multi-hop

Desired Functionality

Enable price fetching for any supported token against the native token, regardless of whether a liquidity pool exists. This capability is needed to accurately calculate fees for a wider range of token pairs.

tuantran1702 avatar Apr 10 '24 04:04 tuantran1702