I have deployed a smart contract in Remix IDE using MetaMask and test rpc. I got the below error:

Error: Error: [ethjs-rpc] rpc error with payload {"id":6223335088050,"jsonrpc":"2.0","params":["0xf9061.......f2b"],"method":"eth_sendRawTransaction"} Error: transaction underpriced

So, please give me solution to resolve this issue.


I kept getting this error some time before when metamask by default set gas price to 0. Took some time to notice it, but changing it from 0 to anything else fixed the problem.

  • how did you changed it – lokesh kumar Aug 12 '18 at 5:38
  • Before sending tx you can set gas limit in MetaMask. – Maxpeinas Aug 13 '18 at 6:25

I got the same issue, but figured out that it was due to my logo being larger than 160px x 160px..

After resizing the image, it worked..

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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