Gas Fee

A gas fee is the total cost of a transaction, equal to the units of gas consumed by execution multiplied by the price paid per unit of gas.

Every EVM operation consumes gas, and the total fee is gas used multiplied by the price per gas unit, denominated in the chain's native token. The fee compensates validators for computation and storage and prevents infinite loops by capping work. Simple transfers cost little; contract calls that write storage cost far more. Since EIP-1559, the price splits into a base fee that is burned and a priority tip. Our decoded transaction data reports gas used and effective gas price per transaction, so you can attribute costs without parsing raw receipts yourself.

Related terms

See also

Turn the concept into an API call

Every term here maps to a primitive you can call today — top up credits and ship.

Get API key