You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: Convert JSBI instances to native numbers using toNumber
but when i pass the amountOut directly in string format, the unckeced trade get successfully created but then i get an error in trade execution :
throw new Error('Could not parse fraction');
^ Error: Could not parse fraction
I'm trying to solve this issue for long time and tried other methods but didn't worked.
It would be great if anybody can help...
The text was updated successfully, but these errors were encountered:
Hi, I am trying to perform a swap on uniswap using v3-sdk by following the code:
https://github.com/Uniswap/examples/blob/bbee4b974768ff1668ac56e27d1fe840060bb61b/v3-sdk/trading/src/libs/trading.ts
but while creating an uncheckedTrade and passing the amountOut:
I'm getting an error:
Error: Convert JSBI instances to native numbers using toNumber
but when i pass the amountOut directly in string format, the unckeced trade get successfully created but then i get an error in trade execution :
I'm trying to solve this issue for long time and tried other methods but didn't worked.
It would be great if anybody can help...
The text was updated successfully, but these errors were encountered: