Tx Doctor / EVM error library / Out of gas

EVM · gas

EVM error: Out of gas

The gas limit was consumed before the call finished, so the EVM rolled everything back — but the gas itself was still charged.

Why it happens

How to fix it

  1. Retry with a gas limit 30–50% above the current estimate.
  2. Split batch operations into smaller transactions.
  3. For swaps, re-quote right before submitting so the estimate matches the pool state.
  4. If the exact same call succeeded before, suspect a contract upgrade — check its implementation address.

What it looks like in the wallet or explorer

Warning! Error encountered during contract execution [out of gas]

Seeing this right now? Paste the transaction hash — the tool finds the chain and decodes what actually failed.

Diagnose my transaction

Related errors

Intrinsic gas too low

EVM · gas

Insufficient funds for gas

EVM · balance

Replacement transaction underpriced

EVM · nonce

Compute budget exceeded

ProgramFailedToComplete