paraswap/paraswap-sdk

getAllowance: Token not found

Marcelh1983 opened this issue · 1 comments

I'm calling minParaSwap.getAllowance() which results in an API call:

https://api.paraswap.io/users/tokens/137/0x999999cf1046e68e36E1aA2E0E07105eDDD1f08E/0x30ea765d4dda26e0f89e1b23a7c7b2526b7d29ec

the API call returns {"error":"Token 0x30ea765d4dda26e0f89e1b23a7c7b2526b7d29ec Not Found"}
While I can get priceRoutes for this token. What could be the problem here?

Seems that tokens for which this error occurs, posting to https://api.paraswap.io/transactions/{chainId} also fails with:
This transaction has some errors and may fail. Please contact support for more details