0

https://etherscan.io/tx/0xca244550d8d582d4e77466bc6ef3b9b9a033697ecc71f86c28745e74da354c9c enter image description here

Does anyone know what does - Fail with error 'ERR_LIMIT_OUT' mean? Thank you!

2
  • Could you copy/paste an etherscan link to the contract that failed? I see it in the picture, but I don't want to manually type it!
    – Undead8
    Commented Mar 22, 2021 at 12:37
  • etherscan.io/tx/…
    – Derek
    Commented Mar 22, 2021 at 12:38

1 Answer 1

1

To know why an error like that is triggered, you have to check the Code of the contract. On etherscan, click on the contract address, and then on the Contract tab (here).

Then, ctrl+f the error name. Here we see that this error is triggered by require(totalAmountOut >= minTotalAmountOut, "ERR_LIMIT_OUT");

A quick read of the code tells me that this error is triggered when the actual amount of token out of the swap was less than the minimum amount that was specified by the user for the transaction to succeed.

This generally happen when there was a price change between the time the user sent the transaction and the time it was mined.

1
  • Thank you very much! This is very helpful
    – Derek
    Commented Mar 22, 2021 at 13:28

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.