How EIP-1559 Impacts Ethereum Data

How EIP-1559 Impacts Ethereum Data

With the latest London upgrade on Ethereum, we've introduced corresponding changes in public BigQuery datasets.

Table of Contents

Text Link

With the latest London upgrade on Ethereum, we've introduced corresponding changes in public BigQuery datasets.

New fields:

In `bigquery-public-data.crypto_ethereum.blocks`:

  • `base_fee_per_gas` - Protocol base fee per gas, which can move up or down

In `bigquery-public-data.crypto_ethereum.transactions`:

  • `max_fee_per_gas` - Total fee that covers both base and priority fees
  • `max_priority_fee_per_gas` - Fee given to miners to incentivize them to include the transaction
  • `transaction_type` - Transaction type, for future use    - `receipt_effective_gas_price`  
  • The actual value per gas deducted from the senders account. Replacement of gas_price after EIP-1559

`receipt_effective_gas_price` is backfilled and is equal to gas_price for pre-EIP-1559 transactions. This means that this field can be used in place of gas_price for most purposes. For example if previously to calculate gas cost for a transaction you'd do `receipt_gas_used * gas_price`, now you should do `receipt_gas_used * receipt_effective_gas_price`

However, part of the gas costs is now burnt, so previously `receipt_gas_used * gas_price` would go to the miner, and after the EIP-1559 only `receipt_gas_used * (receipt_effective_gas_price - block.base_fee_per_gas)` would go to the miner, the remaining wei will be burnt.

This is reflected in this PR for ETH balance calculation

More resources on EIP-1559:

Check out our Gas Tracker dashboard to track EIP-1559 adoption.

Disclaimer

The authors of this content and members of Nansen may be participating or invested in some of the protocols or tokens mentioned herein. The foregoing statement acts as a disclosure of potential conflicts of interest and is not a recommendation to purchase or invest in any token or participate in any protocol. Nansen does not recommend any particular course of action in relation to any token or protocol. The content herein is meant purely for educational and informational purposes only and should not be relied upon as financial, investment, legal, tax or any other professional or other advice. None of the content and information herein is presented to induce or to attempt to induce any reader or other person to buy, sell or hold any token or participate in any protocol or enter into, or offer to enter into, any agreement for or with a view to buying or selling any token or participating in any protocol. Statements made herein (including statements of opinion, if any) are wholly generic and not tailored to take into account the personal needs and unique circumstances of any reader or any other person. Readers are strongly urged to exercise caution and have regard to their own personal needs and circumstances before making any decision to buy or sell any token or participate in any protocol. Observations and views expressed herein may be changed by Nansen at any time without notice. Nansen accepts no liability whatsoever for any losses or liabilities arising from the use of or reliance on any of this content.

Join 100,000+ Investors Getting Their Trading Edge From Nansen

Related articles