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
Including the gasLimit value in this response would be very beneficial, because it is hard to get it via the ethers library. I was only able to get the gas limit estimate when swapping a native coin (like ETH or MATIC on Polygon), but not when swapping ERC-20 tokens.
Is it possible to add gasLimit to the Build Transaction API response?
The text was updated successfully, but these errors were encountered:
bogdoslavik
pushed a commit
to dystopia-exchange/paraswap-sdk
that referenced
this issue
May 14, 2022
I'm using the ParaSwap API and I noticed that the response object (in Build Transaction API call) does not include the estimated
gasLimit
value.Example from your docs:
Including the
gasLimit
value in this response would be very beneficial, because it is hard to get it via the ethers library. I was only able to get the gas limit estimate when swapping a native coin (like ETH or MATIC on Polygon), but not when swapping ERC-20 tokens.Is it possible to add gasLimit to the Build Transaction API response?
The text was updated successfully, but these errors were encountered: