Replies: 1 comment
-
have you tried adding the block number to your estimation call? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hey guys
I am trying to calculate Base Sepolia L1 fees via viem op extensions, and currently always getting higher estimation than I can see in basescan.
Here is the example transaction: https://sepolia.basescan.org/tx/0xfa4f7fbd853ec9d06ea8d304c20aece5118c61e44e5870b6f11dcaca27967cfa
Basescan estimates 9184 L1 gas.
However, following code returns estimation of 10284 gas.
transaction is triggered by user-operation, so it's ERC-4337 user operation.
do you have an idea why viem estimation is quite higher than basescan estimation?
Beta Was this translation helpful? Give feedback.
All reactions