0

enter image description here

I deployed a smart contract using hardhat to Ethereum mainnet, so the transaction fail, and my question is Transaction fee will be refunded to my wallet or not?

Thanks.

Peter Jack
  • 847
  • 5
  • 14
  • 29
  • Transaction fees are paid when using the network. So unfortunately when the transaction fails, the fees won't be refund – Oli Mar 10 '22 at 10:59

1 Answers1

0

The Ethereum network does not refund fees for failed transactions because miners had to process the transaction in order to determine it failed. Unfortunately, there is no way to refund those fees.

Nerdy19
  • 134
  • 1
  • 6