UI never loads route
Open
Nobody has claimed this yet.
bug
- Dominant language
- TypeScript
- Stars
- 5.5k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
API returns a route, but the interface does not accept it.
no errors logged to console
UI state:

request completes with 200 and this data:
{
"blockNumber": "14341023",
"amount": "7136305311337962759744",
"amountDecimals": "7136.305311337962759744",
"quote": "16231610677",
"quoteDecimals": "16231.610677",
"quoteGasAdjusted": "16198711826",
"quoteGasAdjustedDecimals": "16198.711826",
"gasUseEstimateQuote": "32898850",
"gasUseEstimateQuoteDecimals": "32.89885",
"gasUseEstimate": "328000",
"gasUseEstimateUSD": "32.9252",
"gasPriceWei": "38624041406",
"route": [
[
{
"type": "v2-pool",
"address": "0x85Cb0baB616Fe88a89A35080516a8928F38B518b",
"tokenIn": {
"chainId": 1,
"decimals": "18",
"address": "0x0cEC1A9154Ff802e7934Fc916Ed7Ca50bDE6844e",
"symbol": "POOL"
},
"tokenOut": {
"chainId": 1,
"decimals": "18",
"address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"symbol": "WETH"
},
"reserve0": {
"token": {
"chainId": 1,
"decimals": "18",
"address": "0x0cEC1A9154Ff802e7934Fc916Ed7Ca50bDE6844e",
"symbol": "POOL"
},
"quotient": "149012634858504929184494"
},
"reserve1": {
"token": {
"chainId": 1,
"decimals": "18",
"address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"symbol": "WETH"
},
"quotient": "137418085113328355865"
},
"amountIn": "6065859514637268345782"
},
{
"type": "v2-pool",
"address": "0xB4e16d0168e52d35CaCD2c6185b44281Ec28C9Dc",
"tokenIn": {
"chainId": 1,
"decimals": "18",
"address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"symbol": "WETH"
},
"tokenOut": {
"chainId": 1,
"decimals": "6",
"address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"symbol": "USDC"
},
"reserve0": {
"token": {
"chainId": 1,
"decimals": "6",
"address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"symbol": "USDC"
},
"quotient": "101871569735186"
},
"reserve1": {
"token": {
"chainId": 1,
"decimals": "18",
"address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"symbol": "WETH"
},
"quotient": "39412617480239187996900"
},
"amountOut": "13809717325"
}
],
[
{
"type": "v3-pool",
"address": "0xff2bDF3044C601679dEde16f5D4a460B35cebfeE",
"tokenIn": {
"chainId": 1,
"decimals": "18",
"address": "0x0cEC1A9154Ff802e7934Fc916Ed7Ca50bDE6844e",
"symbol": "POOL"
},
"tokenOut": {
"chainId": 1,
"decimals": "18",
"address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"symbol": "WETH"
},
"fee": "3000",
"liquidity": "678235882200254777886",
"sqrtRatioX96": "2403011339589492687934425130",
"tickCurrent": "-69916",
"amountIn": "1070445796700694413961"
},
{
"type": "v3-pool",
"address": "0x88e6A0c2dDD26FEEb64F039a2c41296FcB3f5640",
"tokenIn": {
"chainId": 1,
"decimals": "18",
"address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"symbol": "WETH"
},
"tokenOut": {
"chainId": 1,
"decimals": "6",
"address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"symbol": "USDC"
},
"fee": "500",
"liquidity": "24754439466278286472",
"sqrtRatioX96": "1558525043927257034546237091869974",
"tickCurrent": "197748",
"amountOut": "2421893352"
}
]
],
"routeString": "[V2] 85.00% = POOL -- [0x85Cb0baB616Fe88a89A35080516a8928F38B518b] --> WETH -- [0xB4e16d0168e52d35CaCD2c6185b44281Ec28C9Dc] --> USDC, [V3] 15.00% = POOL -- 0.3% [0xff2bDF3044C601679dEde16f5D4a460B35cebfeE] --> WETH -- 0.05% [0x88e6A0c2dDD26FEEb64F039a2c41296FcB3f5640] --> USDC",
"quoteId": "5bb47"
}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file, test, or entry point is named in the report. Start by reproducing the successful 200 response and tracing where the returned route is consumed by the UI; done means the interface accepts and displays this route without console errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- blockchain, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100