V1 `defi.getPairAddress` returning 404 for some pairs

Testing defi.getPairAddress with the following input:

{"token0_address":"0x77f9CF0bd8C500CfFdF420e72343893aeCC2EC0b","token1_address":"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2","exchange":"uniswapv2","chain":"eth"}

I receive a 404 error from the API:

  Error: {"message":"Request failed with status code 404","code":141}

I’m not sure if this is due to ā€œreverse pair tokensā€ or some other ā€œnon-standardā€ feature.

Is there any way we can get more detailed failure feedback?

I’ll have to check, it may be an issue on our side related to the exchange parameter.

we will have to investigate more to see what happens, I get the same result as you had

For what it’s worth, this appears to be a recent development. I’ve acquired this pair before. Not sure if it was a V1 to V2 ā€œinfrastructureā€ issue or anything.

I’ve got an app demo this week, so definitely interested in getting this resolved rather than having to put together a more ā€œmanualā€ method. 🫠

Thanks.

you can try again now