Skip to content
Discussion options

You must be logged in to vote

Type 123 txs will return the effectiveGasPrice for all receipts after the L2 migration.

For receipts before the L2 migration, the situation is more complicated, since the L1 relied on executing contracts to get the base fee for a block in the respective fee currency, which is required to calculated the effective gas price. This has two effects for type 123 receipts:

  • Normal Celo L1 nodes would only return the effective gas price for a short time until the state was pruned
  • Celo L2 nodes generally won't return the effective gas price from before the migration

Blockscout has all the data, so you can see the effective gas price for your tx at https://celo.blockscout.com/tx/0x7ca62d85bd8f43c6…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@wpoulin
Comment options

@karlb
Comment options

karlb Apr 15, 2025
Collaborator

Answer selected by lvpeschke
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants