Error: could not coalesce error (error={ "code": -32003, "message": "transaction underpriced", "stack": "Error: transaction underpriced\n #4937
Replies: 2 comments 1 reply
-
@Sharma7Prateek Did you try to increase the price? |
Beta Was this translation helpful? Give feedback.
-
Hi, I have the same issue. Edit : I managed to fix it. It seems we don't have the same error Patrick gets when he deploys at 7:21:09. However if you go to the course's next step, which is storing the correct nonce in a variable and using it in your tx object, it just works properly and the "transaction underpriced" doesn't happen. const nonce = await wallet.getTransactionCount();
const tx = {
nonce: nonce,
gasPrice: 100000000000,
gasLimit: 1000000,
to: null,
value: 0,
data: "0x60...",
chainId: 1337,
} Hope that can help someone, happy coding ! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
hey ,
i am getting this error while sending a raw transaction.
Here is my code:
Thanks in advance...
Beta Was this translation helpful? Give feedback.
All reactions