Skip to main content
Transactions are cryptographically signed instructions from accounts. An account will initiate a transaction to update the state of the blockchain network. Transactions always originate from an externally owned account (a smart contract can not initiate a transaction). Transactions, which change the state of the EVM, need to be broadcast to the whole network. Any node can broadcast a request for a transaction to be executed on the EVM; after this happens, a validator will execute the transaction and propagate the resulting state change to the rest of the network. Learn more in the official Ethereum documentation here.
Several columns may only be applicable for specific EVM-compatible blockchains. The list of columns present in the table is not exhaustive.

Calculating Transaction Fees

For transactions on Base, the total transaction fee consists of two main components:
  1. L2 Fee:
    • Total L2 Fee = Base Fee + Priority Fee
      • Note: (receipt_effective_gas_price * receipt_gas_used) / 10^18 ETH combines both base fee and priority fee components
    • Base Fee: (block.base_fee_per_gas * receipt_gas_used) / 10^18 ETH
      • Requires join with blocks table on block_number: see example query.
    • Priority Fee: L2 fee - base fee: receipt_effective_gas_price - (block.base_fee_per_gas * receipt_gas_used) / 10^18 ETH
  2. L1 Fee:
    • Given directly by receipt_l1_fee / 10^18 ETH
    • This represents the cost of posting transaction data to Ethereum mainnet
The total transaction fee is the sum of all components: L2 Fee (Base Fee + Priority Fee) + L1 Fee Example query to calculate all fee components.

Table Columns

Unique Key: hash