Replies: 2 comments 6 replies
-
Stuck with this issue for 1+ week now when using const { maxFeePerGas, maxPriorityFeePerGas } = await publicClient.estimateFeesPerGas()
const transactionRequest = await client.prepareTransactionRequest({
account,
to: to,
data: data,
value: value,
maxFeePerGas: maxFeePerGas,
maxPriorityFeePerGas: maxPriorityFeePerGas,
}) Throws following error even when there's ETH in the wallet...
|
Beta Was this translation helpful? Give feedback.
-
@altbee Did you ever find a solution to this? I seem to be having a similar issue where the calculation seems to be wrong:
|
Beta Was this translation helpful? Give feedback.
-
Is there an existing issue for this?
Package Version
2.7.19
Current Behavior
hey, i am trying to swap ETH to USDT
and it looks like gas calculation is wrong (fyi, i have enough balance on my account)
I prepared a simple repo to replicate the issue.
https://github.com/altbee/0x-test
Expected Behavior
No response
Steps To Reproduce
No response
Link to Minimal Reproducible Example (StackBlitz, CodeSandbox, GitHub repo etc.)
No response
Anything else?
No response
Beta Was this translation helpful? Give feedback.
All reactions