With the latest London upgrade on Ethereum, we've introduced corresponding changes in public BigQuery datasets.
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`:
In `bigquery-public-data.crypto_ethereum.transactions`:
`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.