0

I am using the below official contract given in documentation of Ox, for swapping ERC20 coins.


0x-Smart-Contract


So,The transactions like LINK-WETH, WETH-DAI, DAI-WETH, WETH-LINK, etc are working the quotes are given below:


WETH-DAI, WETH-LINK

DAI-WETH, LINK-WETH


The above transactions are working fine but for transactions for WETH-USDT and UNI-WETH are failing for some reason, they directly display's transaction may fail, insufficient funds on meta-mask conformation screen.

Below are the quotes I am using,


WETH-USDT, UNI-WETH


The above two quotes are failing, even when I have the max allowance and enough token balance.

When I Click on Proceed any-way on meta-mask it displays error on ether scan. UNI::approve:amount exceeds 96 bits.

If any one finds any solution or explanation your help is really appreciated.

2
  • When I click on proceed anyway, Ether scan displays error: Commented Nov 23, 2022 at 5:40
  • Hi Ashish, do you have the transaction IDs/etherscan links for these failed swaps? It would help quite a bit with debugging.
    – Megan
    Commented Dec 1, 2022 at 14:17

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.