Gas And Fees
A source-aware briefing for checking the record before you act.
A source-aware briefing for checking the record before you act.
Check what happened to a failed transaction and how its fee was calculated before retrying.
On Ethereum, gas measures computational work. The protocol sets the base fee, and the priority fee is an extra tip offered to the block producer. The gas limit caps the gas a transaction can use; it is not the amount automatically charged.
Check whether the transaction was sent, whether it has a receipt, and what that receipt reports. A wallet message alone does not settle its onchain status. Fees vary with the operation and network conditions.
References: Ethereum gas and feesEthereum transaction receipts
| State | What the record shows | Network fee |
|---|---|---|
| Rejected before sending | You declined the wallet prompt; the transaction was never broadcast. | No onchain fee for that unsent transaction. |
| Pending | The transaction has been sent but has no inclusion receipt yet. | Its final outcome and fee are not yet known. |
| Successful | An included transaction completed its execution. | Gas used multiplied by the effective gas price. |
| Reverted | An included transaction failed; its reverted state changes were undone. | Gas used is still charged. Running out of gas can consume the full gas limit. |
A failed screen may not explain the cause. Check the explorer receipt and, when available, its revert reason or trace. Compare the transaction with the token, route, deadline, balance, and quote that were current when it was sent.
Use the transaction record to distinguish a request that never executed from one that reverted after inclusion.
References: Ethereum ERC-2612 signed approvalsUniswap: Crypto Wallet Signature Scams
Primary sources
This is educational information only. It is not financial, legal, or investment advice. Always do your own research and verify everything yourself.