Refunding Gas Fees

Gas fees on EVM chains cover the computational costs of processing transactions. , these fees are consumed whether the transaction succeeds or fails.

Generally speaking, Fees are used in two stages:

  1. The first stage is to include the transaction in a block.
  2. The second stage involves using what is left to be consumed by the EVM steps during Smart Contract executions. This explains why some transactions are included in a block even though they failed to execute the Smart Contract, or ran out of gas while doing so - execution is aborted.

Why Aren't Gas Fees Refunded?

  • Compensation: Miners/validators are compensated for the computational resources used, even if the transaction fails.
  • Spam Prevention: Non-refundable fees prevent network congestion and abuse.
  • Incentives: This system encourages users to carefully construct transactions.

Mitigating Gas Fee Losses

Good to Know

  • Gas fees are the amount of native coins paid to the miners, so they include a transaction in a block to be accepted by the blockchain.
  • Exceptionally, the gas fees may not be consumed at all if a transaction is rejected by a blockchain node(s). This may happen if the fee is below the BaseFee, if a transaction does not pass validation or it is dropped from the mempool.
  • Transaction broadcast attempts may be accepted or rejected by the blockchain itself.
  • Tatum does not charge crypto assets to use our endpoints. Costs associated with using the Tatum infrastructure derive from the credits available on the user account.

🚧

Due to the nature of the blockchain, Gas Fees cannot be refunded.