I’m using oneInch to make swaps and i’d like to know how many gas i’m gonna spend for a transaction.
I’ve seen in quote function that i can access to estimatedGas field. If i convert it to USDC, it says i’m gonna spend aroud 1.4$ but when i make the swap, it turns to 0.15$ … i don’t see the point. What exactly field means? Maximum gas that transaction can spend?
At the other hand, oneInch.swap function has a gasLimit field when i call it. Can i use it to limit gas i want to spend (USDC) ?